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 πŸ’‹