al_set_errno(3alleg5)
π al_set_errno β Allegro 5 API π
okay bestie, welcome to al_set_errno from the Allegro 5 manual, page 3alleg5 β¨ she's a tiny one but she's iconic, no cap.
πΈ SYNOPSIS πΈ
void al_set_errno(int errnum)
π¦ DESCRIPTION π¦
Set the error number for the calling thread. π
that's it, that's the whole vibe. al_set_errno takes your errnum and pins it onto the thread you're currently running on β so if you're juggling multiple threads, each one gets to keep its own little error number, fr fr. π«Ά
note: it's per-thread, not global. your other threads are NOT getting the memo. π
π a lil sign-off π
this page comes to you courtesy of the Allegro reference manual (that's the source, babes) for al_set_errno(3alleg5) β go off, set that errno, and slay πβ¨π
π¦ where this page comes from
- ubuntu resolute: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- ubuntu stonking: allegro5-doc 2:5.2.11.3+dfsg-1 Β· Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms