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

usetc - Low level helper function for writing Unicode text data. Allegro game programming library.

#include <allegro.h>

int usetc(char *s, int c);

Low level helper function for writing Unicode text data. Writes the character `c' to the address pointed to by `s'.

Returns the number of bytes written, which is equal to the width of the character in the current encoding format.

ugetc(3alleg4), ugetx(3alleg4), uwidth(3alleg4), ucwidth(3alleg4), uisok(3alleg4)

version 4.4.2 Allegro