ALLEGRO_USTR(3alleg5)
π ALLEGRO_USTR β Allegro 5 API β¨
okay bestie, welcome to the ALLEGRO_USTR(3alleg5) page, it's short but it's iconic, let's go π«Ά
πΈ NAME πΈ
ALLEGRO_USTR β literally the Allegro 5 API, that's the whole name, no notes π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
typedef struct _al_tagbstring ALLEGRO_USTR;
that's it. that's the whole thing. short king energy π
π¦ DESCRIPTION π¦
so ALLEGRO_USTR is an opaque type that represents a string. like, you don't get to peek inside it, you just trust it. main character with a mysteriously locked diary vibe π
normally these lil guys hold UTF-8 encoded strings β that's the default, that's the vibe. but here's the tea: they can also be used to hold any byte sequences, including NULs. yes, NULs, the ones that usually end everything early like a party that got shut down π not here tho. no cap, they just live in there.
quick recap fr fr: UTF-8 by default, but raw bytes and embedded NULs are totally allowed. she contains multitudes β¨π
and that's the whole page bestie, go forth and sling some strings π
this was ALLEGRO_USTR(3alleg5) from the Allegro reference manual β mwah, stan, bye πππ§
π¦ where this page comes from
- debian trixie: allegro5-doc 2:5.2.10.1+dfsg-1 Β· Zlib
- ubuntu questing: allegro5-doc 2:5.2.10.1+dfsg-1build1
- 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