SysTutorials

Linux Manual Pages › Section 3

usetc(3)

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

Synopsis

#include <allegro.h>
int usetc(char *s, int c);

Description

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

Return Value

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

See Also

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