1ustrzcat(3) Allegro manual ustrzcat(3)
2
3
4
6 ustrzcat - Concatenates a string to another one, specifying size. Alle‐
7 gro game programming library.
8
10 #include <allegro.h>
11
12
13 char *ustrzcat(char *dest, int size, const char *src);
14
16 This function concatenates `src' to the end of `dest', whose length in
17 bytes is specified by `size' and which is guaranteed to be null-termi‐
18 nated even when `src' is bigger than `size'.
19
20 Note that, even for empty strings, your destination string must have at
21 least enough bytes to store the terminating null character of the
22 string, and your parameter `size' must reflect this. Otherwise, the
23 debug version of Allegro will abort at an assertion, and the release
24 version of Allegro will overrun the destination buffer.
25
27 Returns the value of `dest'.
28
29
31 uconvert(3), ustrcat(3), ustrzncat(3), exgui(3)
32
33
34
35Allegro version 4.4.2 ustrzcat(3)