ustrsizez(3alleg4)
β¨ ustrsizez β¨
okay bestie, so this is ustrsizez from the Allegro game programming library, and it's here to tell you how big your string is β like, in bytes, null terminator included π
. That's it. That's the whole vibe. A tiny little icon doing one tiny little job and doing it flawlessly, no cap.
πΈ SYNOPSIS πΈ
#include <allegro.h>
int ustrsizez(const char *s);
π DESCRIPTION π
So basically, ustrsizez returns the size of the string you hand it, measured in bytes β and the way it counts, it's including the trailing null character too π.
Like, the null terminator is part of the party. It's not getting left out. It's counted. Periodt.
π¦ SEE ALSO π¦
ustrsize(3alleg4)empty_string(3alleg4)exunicod(3alleg4)
and that's the whole page bestie, go forth and count ur strings π«Ά
this was Allegro version 4.4.3 β¨ the manual page is dated ustrsizez(3alleg4) and it lives in the Allegro manual β mwah, iconic, no notes π
π¦ where this page comes from
- debian bookworm: allegro4-doc 2:4.4.3.1-3 Β· Allegro-gift-ware
- debian trixie: allegro4-doc 2:4.4.3.1-5 Β· Allegro-gift-ware
- ubuntu jammy: allegro4-doc 2:4.4.3.1-2 Β· Allegro-gift-ware
- ubuntu noble: allegro4-doc 2:4.4.3.1-4.1build3 Β· Allegro-gift-ware
- ubuntu questing: allegro4-doc 2:4.4.3.1-6
- ubuntu resolute: allegro4-doc 2:4.4.3.1-7 Β· Allegro-gift-ware
- ubuntu stonking: allegro4-doc 2:4.4.3.1-9 Β· Allegro-gift-ware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms