al_ustr_equal(3alleg5)
π al_ustr_equal β Allegro 5 API π
okay bestie, so this one lives in the Allegro 5 API, section 3alleg5, and it's literally the "are these two the same??" function. that's it. that's the whole job. π
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_ustr_equal(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
πΈ DESCRIPTION πΈ
so you hand it two strings, us1 and us2, and it returns true iff the two strings are equal. like, exactly equal. no crumbs left. π
and here's the tea, bestie: this function is more efficient than al_ustr_compare(3alleg5), so it's the one you wanna reach for if ordering is not important. if you don't care which string comes "first" and you just wanna know are they the same, use this one. it's giving optimized. it's giving main character energy. β¨
lowkey the vibe check here is:al_ustr_equal= "same or not?",al_ustr_compare= "same or not, AND who's bigger?" β different girlies, different jobs. π
π SEE ALSO π
al_ustr_compare(3alleg5)β the comparison one, for when ordering does matter π¦
and that's the whole page, no cap π«Ά go forth and compare your strings efficiently, you absolute icon π
β Allegro reference manual, al_ustr_equal(3alleg5) π mwah, catch you in the next manpage β¨
π¦ 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