firestring_estr_alloc(3)

firestring_estr_alloc3

Allocate space for an estring

Usage

#include <firestring.h>
-lfirestring

void firestring_estr_alloc(struct firestring_estr_t *estring, int size)

Overview

firestring_estr_alloc() uses firestring_malloc(3) to allocate size bytes in estring. It resets the length of estring to 0 and stores the size with the string to facilitate safe operations later.

Return value

None.

Releases

Unchanged in 6 releases since Debian 3.1 (Sarge).

  1. 3.1–8

Author

Ian Gulliver <[email protected]>

From libfirestring-dev 0.9.12-8 in Debian 8 (Jessie). Parsed by carta from the page's man source.