TT_ERROR_INT(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

πŸ’– NAME πŸ’–

okay so this page is tt_error_int, and yes bestie, it's a library call β€” we're in C-library territory now ✨ It returns an integer error object that encodes the code. Literally its whole personality.

πŸ¦‹ SYNOPSIS πŸ¦‹

#include &<Tt/tt_c.h>
int tt_error_int(
Tt_status ttrc);

πŸŽ€ DESCRIPTION πŸŽ€

The tt_error_int function returns an integer error object that encodes a Tt_status return value. That's the vibe: you give it a status, it gives you back the encoded integer object πŸ’…

The ttrc argument is the Tt_status code that is to be encoded. That's the one thing you hand it, no cap.

πŸ”₯ RETURN VALUE πŸ”₯

Upon successful completion, the tt_error_int function returns the encoded Tt_status code. slay, that's it 🫢

🌸 APPLICATION USAGE 🌸

The integer error objects are negative integers. So an application should use this call only when the valid integer values are non-negative β€” that's not a suggestion, bestie, that's the condition πŸ™ˆ

πŸ‘‘ SEE ALSO πŸ‘‘

byeee πŸ’– β€” footer recap: tt_error_int(library call). That's the source/version/date situation the page gives us, and I'm not out here inventing extra lines. mwah πŸ’‹

πŸ“¦ where this page comes from