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

NAME

6       stralloc_copym - copy string(s) to a stralloc
7

SYNTAX

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

DESCRIPTION

14       stralloc_copym copies \0-terminated strings from s... to sa, allocating
15       space if necessary, and returns 1.  If there is data in the sa,  it  is
16       cleared first.
17
18       If  it runs out of memory, stralloc_copym returns 0.  At that point, it
19       may already have copied a few of the strings to sa.
20

RETURN VALUE

22       1 for success, 0 on memory allocation failure.
23

SEE ALSO

25       stralloc_copys(3)
26
27
28
29                                                             stralloc_copym(3)
Impressum