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

# ustrsize(3alleg)

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**(3alleg)](/ustrsizez/3alleg.md), [**empty\_string**(3alleg)](/empty_string/3alleg.md), [**exunicod**(3alleg)](/exunicod/3alleg.md)
