DOKK / manpages / debian 10 / allegro5-doc / al_ustr_size.3alleg5.en
al_ustr_size(3alleg5) al_ustr_size(3alleg5)

al_ustr_size - 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)

Allegro reference manual