al_ustr_has_prefix_cstr(3alleg5)

πŸ“¦
version 5.2.11.3 Β· 4 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ NAME ✨

al_ustr_has_prefix_cstr β€” Allegro 5 API, bestie. The full manual page name is al_ustr_has_prefix_cstr(3alleg5), and it's literally here to check if one string starts with another. Iconic behavior. πŸ’…


🌸 SYNOPSIS 🌸

okay so you pull it in like this:

#include <allegro5/allegro.h>

bool al_ustr_has_prefix_cstr(const ALLEGRO_USTR *us1, const char *s2)

πŸ¦‹ DESCRIPTION πŸ¦‹

Returns true iff us1 begins with s2. That's the whole tea, no cap. us1 is the const ALLEGRO_USTR * bestie, and s2 is the const char * bestie. If us1 starts with s2, it's giving true; if not, it's giving not true. fr fr. 🫢


πŸ‘‘ SEE ALSO πŸ‘‘


source/version/date vibe check: this page lives in the Allegro reference manual, and its manual page name is al_ustr_has_prefix_cstr(3alleg5). No date was printed on the page, just that. bye bestie πŸ’–πŸ¦‹

πŸ“¦ where this page comes from