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

# ustrzncat(3alleg)

Concatenates a string to another one, specifying size. Allegro game programming library.

## NAME

ustrzncat - Concatenates a string to another one, specifying size. Allegro game programming library.

## SYNOPSIS

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

**char \*ustrzncat(char \*dest, int size, const char \*src, int n);**

## DESCRIPTION

This function is like ustrzcat() except that no more than \`n' characters from \`src' are appended to the end of \`dest'. If the terminating null character in \`src' is reached before \`n' characters have been written, the null character is copied, but no other characters are written. Note that \`dest' is guaranteed to be null-terminated.

## RETURN VALUE

The return value is the value of \`dest'.

## SEE ALSO

[**uconvert**(3alleg)](/uconvert/3alleg.md), [**ustrzcat**(3alleg)](/ustrzcat/3alleg.md), [**ustrncat**(3alleg)](/ustrncat/3alleg.md)
