---
name: "ustrsize"
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/ustrsize/3alleg4"
---

# ustrsize(3alleg4)

Size of the string in bytes without null terminator. Allegro game programming library.

## NAME

ustrsize - Size of the string in bytes without null terminator. Allegro game programming library.

## SYNOPSIS

**#include \<allegro.h\>**

**int ustrsize(const char \*s);**

## DESCRIPTION

Returns the size of the specified string in bytes, not including the  trailing null character.

## SEE ALSO

**ustrsizez**(3alleg4), **empty\_string**(3alleg4), **exunicod**(3alleg4)
