TT_IS_ERR(3)
π 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β TheTt_statusis either a warning orTT_OKπ1β TheTt_statusis an error π
β SEE ALSO β
Tt/tt_c.h - Tttt_c(5).
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
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms