1stralloc_init(3) Library Functions Manual stralloc_init(3)
23
4
NAME
6stralloc_init - initialize a stralloc
7
SYNTAX
9#include <stralloc.h>
1011
void stralloc_init(stralloc* sa);
12
DESCRIPTION
14stralloc_init initializes a stralloc to the empty string.
1516
It does not free any memory previously associated with a stralloc. Use
17stralloc_free(3) for that. If you just want to empty a stralloc, use
18stralloc_zero(sa) instead.
19
RETURN VALUE
21none.
22
SEE ALSO
24stralloc_free(3), stralloc_copys(3)
2526
27
28
stralloc_init(3)