usetc.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

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(3alleg), ugetx(3alleg), uwidth(3alleg), ucwidth(3alleg), uisok(3alleg)