Allegro 5 api
#include <allegro5/allegro.h> bool al_ustr_has_prefix_cstr(const ALLEGRO_USTR *us1, const char *s2)
Returns true iff us1 begins with s2.
al_ustr_has_prefix(3alleg5), al_ustr_has_suffix_cstr(3alleg5)