DOKK / manpages / debian 10 / allegro4-doc / ucwidth.3alleg4.en
ucwidth(3alleg4) Allegro manual ucwidth(3alleg4)

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

#include <allegro.h>

int ucwidth(int c);

Low level helper function for testing Unicode text data.

Returns the number of bytes that would be occupied by the specified character value, when encoded in the current format.

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

version 4.4.2 Allegro