GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  FIRESTRING_REALLOC (3)

NAME

firestring_realloc - realloc(3) with internal result checking

CONTENTS

Synopsis
Description
Return Value
Author
See Also

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 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 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)
Search for    or go to Top of page |  Section 3 |  Main Index


--> FIRESTRING_REALLOC (3) 2002-03-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.