stralloc_0 man page

stralloc_0 — append \0 to a stralloc

Syntax

#include <stralloc.h>

int stralloc_0(stralloc* sa);

Description

stralloc_0 appends \0 to a stralloc.

It is a shortcut for stralloc_append(sa,"").

Return Value

1 for success, 0 on memory allocation failure.

See Also

stralloc_append(3)

Info