TT_IS_ERR(3)

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

πŸ’… tt_is_err β€” check status value πŸ’…

okay so this is the tt_is_err page from the library call manual, and it’s literally a tiny vibe check for status values, bestie πŸ’–


✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
int tt_is_err(Tt_status s);

no cap, that & in the include line is really there β€” copy it exactly and don’t β€œfix” it, iykyk πŸ˜­πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

The tt_is_err function checks whether a status value is a warning or an error. That’s the whole assignment, and it ate πŸ’…βœ¨

The s argument is the Tt_status code to check. main character argument energy 🫢


🌸 RETURN VALUE 🌸

Upon successful completion, the tt_is_err function returns one of these integers, bestie:

  • 0 β€” The Tt_status is either a warning or TT_OK πŸ’–
  • 1 β€” The Tt_status is an error πŸ’€

⭐ SEE ALSO ⭐


signing off from the tt_is_err(library call) page β€” version/source: library call, date: not listed on the page, so we’re not inventing one, periodt πŸŒˆπŸŽ€βœ¨

πŸ“¦ where this page comes from