Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
firestring_realloc(3)	   Library Functions Manual	 firestring_realloc(3)

NAME
       firestring_realloc - realloc(3) with internal result checking

SYNOPSIS
       #include	<firestring.h>
       -lfirestring

       void *firestring_realloc(void *old, const size_t	new)

DESCRIPTION
       firestring_realloc()  acts  exactly  like realloc(3) except that	it de-
       tects 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 VALUE
       If firestring_realloc() returns,	it always  returns  a  string  of  new
       bytes  containing the data from old at the beginning.  It never returns
       NULL.

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2002-03-31		 firestring_realloc(3)

NAME | SYNOPSIS | DESCRIPTION | RETURN VALUE | AUTHOR | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=firestring_realloc&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help