firestring_estr_alloc

Langue: en

Version: 2002-06-10 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

firestring_estr_alloc - 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.

AUTHOR

Ian Gulliver <ian@penguinhosting.net>

SEE ALSO

libfirestring(3)