DOKK / manpages / debian 10 / allegro4-doc / ustrzncat.3alleg4.en
ustrzncat(3alleg4) Allegro manual ustrzncat(3alleg4)

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

#include <allegro.h>

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

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.

The return value is the value of `dest'.

uconvert(3alleg4), ustrzcat(3alleg4), ustrncat(3alleg4)

version 4.4.2 Allegro