al_ustr_has_suffix(3alleg5)
π al_ustr_has_suffix β Allegro 5 API π
okay bestie, gather round, because today we're checking suffixes and honestly? it's giving tiny function, massive main character energy. this one lives in the Allegro 5 API, manual page al_ustr_has_suffix(3alleg5), and yes she's short but she is so useful. π
β¨ NAME β¨
al_ustr_has_suffix β the Allegro 5 API girlie who tells you if one string ends with another. π¦
πΈ SYNOPSIS πΈ
#include <allegro5/allegro.h>
bool al_ustr_has_suffix(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
like, look at her. two const ALLEGRO_USTR * girlies walking in, one bool walking out. iconic. π
π DESCRIPTION π
Returns true iff us1 ends with us2.
that's it. that's the whole vibe. no cap. π
fr fr β "iff" means if and only if, so don't come at me saying it just checks sometimes. it's a real, honest-to-god boolean, bestie. π₯
π SEE ALSO π
al_ustr_has_suffix_cstr(3alleg5)β same energy but the second one's a C string, iykykal_ustr_has_prefix(3alleg5)β her sister who checks the front instead of the back π
and that's the whole page, bestie!! π«Ά this was the Allegro reference manual serving al_ustr_has_suffix(3alleg5) realness, so go forth and check your suffixes. periodt. β¨ππ
π¦ 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