---
name: "usetc"
section: "3alleg4"
platform: "linux"
package: "allegro4-doc"
version: "2:4.4.3.1-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/usetc/3alleg4"
---

# usetc(3alleg4)

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

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