Allocate space for an estring
#include <firestring.h>
-lfirestring
void firestring_estr_alloc(struct firestring_estr_t *estring, int size)
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.
None.
Ian Gulliver <[email protected]>