1stralloc_append(3) Library Functions Manual stralloc_append(3)
2
3
4
6 stralloc_append - append a character to a stralloc
7
9 #include <stralloc.h>
10
11 int stralloc_append(stralloc* sa,const char* in);
12
14 stralloc_append appends the byte from *buf to the string stored in sa,
15 allocating space if necessary, and returns 1.
16
17 If it runs out of memory, stralloc_append leaves sa alone and returns
18 0.
19
21 1 for success, 0 on memory allocation failure.
22
24 stralloc_copyb(3)
25
26
27
28 stralloc_append(3)