al_ustr_has_prefix(3)
π NAME π
okay so this is al_ustr_has_prefix(3), living its best life in the Library Functions Manual, and it's literally the Allegro 5 API page for al_ustr_has_prefix.
β¨ SYNOPSIS β¨
#include <allegro5/allegro.h>
bool al_ustr_has_prefix(const ALLEGRO_USTR *us1, const ALLEGRO_USTR *us2)
π DESCRIPTION π
Bestie, here's the whole vibe: it returns true iff us1 begins with us2. That's βiffβ like if-and-only-if, no cap β the first string has to start with the second one for the answer to be true. Slay. π
π¦ SEE ALSO π¦
al_ustr_has_prefix_cstr(3)β another icon on the see-also list.al_ustr_has_suffix(3)β go give this one a look too.
πΈ that's the page! The footer/source line is just Allegro reference manual, and there's literally no date listed, so I'm not inventing one β periodt. π
π¦ where this page comes from
- arch rolling: allegro 5.2.11.3-2 Β· Zlib AND BSD-3-Clause AND OFL-1.1 AND LicenseRef-Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms