---
name: "usetc"
section: "3alleg"
platform: "linux"
package: "liballegro-doc"
version: "2:4.2.2-2.2"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/usetc"
---

# usetc(3alleg)

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**(3alleg)](/ugetc/3alleg.md), [**ugetx**(3alleg)](/ugetx/3alleg.md), [**uwidth**(3alleg)](/uwidth/3alleg.md), [**ucwidth**(3alleg)](/ucwidth/3alleg.md), [**uisok**(3alleg)](/uisok/3alleg.md)
