DOKK / manpages / debian 10 / libowfat-dev / stralloc_init.3.en
stralloc_init(3) Library Functions Manual stralloc_init(3)

stralloc_init - initialize a stralloc

#include <stralloc.h>

void stralloc_init(stralloc* sa);

stralloc_init initializes a stralloc to the empty string.

It does not free any memory previously associated with a stralloc. Use stralloc_free(3) for that. If you just want to empty a stralloc, use stralloc_zero(sa) instead.

none.

stralloc_free(3), stralloc_copys(3)