DOKK / manpages / debian 11 / allegro4-doc / uwidth.3alleg4.en
uwidth(3alleg4) Allegro manual uwidth(3alleg4)

uwidth - Low level helper function for testing Unicode text data. Allegro game programming library.

#include <allegro.h>

int uwidth(const char *s);

Low level helper function for testing Unicode text data.

Returns the number of bytes occupied by the first character of the specified string, in the current encoding format.

uwidth_max(3alleg4), ugetc(3alleg4), ugetx(3alleg4), usetc(3alleg4), ucwidth(3alleg4), uisok(3alleg4)

version 4.4.3 Allegro