Allegro 5 api
#include <allegro5/allegro.h> size_t al_ustr_size(const ALLEGRO_USTR *us)
Return the size of the string in bytes. This is equal to the number of code points in the string if the string is empty or contains only 7-bit ASCII characters.
al_ustr_length(3alleg5)