Query: firestring_realloc
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
firestring_realloc(3) Library Functions Manual firestring_realloc(3)NAMEfirestring_realloc - realloc(3) with internal result checkingSYNOPSIS#include <firestring.h> -lfirestring void *firestring_realloc(void *old, const size_t new)DESCRIPTIONfirestring_realloc() acts exactly like realloc(3) except that it detects realloc failures, prints an error and exit(3) with exit status EXIT_FAILURE. In most programs, realloc failures are unrecoverable, and this is the preferred behaviour.RETURN VALUEIf firestring_realloc() returns, it always returns a string of new bytes containing the data from old at the beginning. It never returns NULL.AUTHORIan Gulliver <ian@penguinhosting.net>SEE ALSOlibfirestring(3) 2002-03-31 firestring_realloc(3)