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