1stralloc_catb(3)           Library Functions Manual           stralloc_catb(3)
2
3
4

NAME

6       stralloc_catb - append data to a stralloc
7

SYNTAX

9       #include <stralloc.h>
10
11       int stralloc_catb(stralloc* sa,const char* buf,size_t len);
12

DESCRIPTION

14       stralloc_catb adds the string buf[0], buf[1], ... buf[len-1] to the end
15       of the string stored in sa, allocating space if necessary, and  returns
16       1.  If  sa is unallocated, stralloc_catb is the same as stralloc_copyb.
17       If it runs out of memory, stralloc_catb leaves sa alone and returns 0.
18
19

RETURN VALUE

21       1 for success, 0 on memory allocation failure.
22
23
24
25                                                              stralloc_catb(3)
Impressum