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
firestring_strdup(3) FreeBSD Library Functions Manual firestring_strdup(3)

firestring_strdup - strdup(3) with internal result checking

#include <firestring.h>
-lfirestring

char *firestring_strdup(const char * const input)

firestring_strdup() acts exactly like strdup(3) except that it detects malloc failures, prints an error and exit(3) with exit status EXIT_FAILURE. In most programs, malloc failures are unrecoverable, and this is the preferred behaviour.

If firestring_strdup() returns, it always returns a copy of the string input. It never returns NULL.

Ian Gulliver <ian@penguinhosting.net>

libfirestring(3)
2002-03-31

Search for    or go to Top of page |  Section 3 |  Main Index

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