SYNOPSIS

#include <allegro.h>

int uwidth(const char *s);

DESCRIPTION

Low level helper function for testing Unicode text data.

RETURN VALUE

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

RELATED TO uwidth…

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