1stralloc_cat(3) Library Functions Manual stralloc_cat(3)
2
3
4
6 stralloc_cat - append data to a stralloc
7
9 #include <stralloc.h>
10
11 int stralloc_cat(stralloc* sato,stralloc* safrom);
12
14 stralloc_cat appends the string stored in safrom to sa. It is the same
15 as stralloc_catb(&sato, safrom.s, safrom.len). safrom must already be
16 allocated.
17
18 The data that sa previously contained is overwritten and truncated.
19
21 1 for success, 0 on memory allocation failure.
22
24 stralloc_catb(3)
25
26
27
28 stralloc_cat(3)