firestring_estr_alloc(3)
allocate space for an estring
SYNOPSIS
#include <firestring.h>
-lfirestring
void firestring_estr_alloc(struct firestring_estr_t *estring, int size)
DESCRIPTION
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.