stralloc_init(3diet)

stralloc_init3diet

Initialize a stralloc

Usage

#include <stralloc.h>

void stralloc_init(stralloc* sa);

Overview

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.

Return value

none.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.