1stralloc_catm(3) Library Functions Manual stralloc_catm(3)
2
3
4
6 stralloc_catm - append string(s) to a stralloc
7
9 #include <stralloc.h>
10
11 int stralloc_catm(stralloc* sa,const char* s, ...);
12
14 stralloc_catm appends \0-terminated strings from s... to the end of the
15 string stored in sa, allocating space if necessary, and returns 1. If
16 sa is unallocated, stralloc_catm is the same as stralloc_copym.
17
18 If it runs out of memory, stralloc_catm returns 0. At that point, it
19 may already have copied a few of the strings to sa.
20
22 1 for success, 0 on memory allocation failure.
23
25 stralloc_copym(3)
26
27
28
29 stralloc_catm(3)