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

NAME

6       stralloc_cats - append data to a stralloc
7

SYNTAX

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

DESCRIPTION

14       stralloc_cats appends a \0-terminated string from buf to the end of the
15       string stored in sa, allocating space if necessary, and returns  1.  If
16       sa  is  unallocated, stralloc_cats is the same as stralloc_copys. If it
17       runs out of memory, stralloc_cats leaves sa alone and returns 0.
18

RETURN VALUE

20       1 for success, 0 on memory allocation failure.
21

SEE ALSO

23       stralloc_copyb(3)
24
25
26
27                                                              stralloc_cats(3)
Impressum