firestring_strdup man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

firestring_strdup(3)					  firestring_strdup(3)

NAME
       firestring_strdup - strdup(3) with internal result checking

SYNOPSIS
       #include <firestring.h>
       -lfirestring

       char *firestring_strdup(const char * const input)

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

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

AUTHOR
       Ian Gulliver <ian@penguinhosting.net>

SEE ALSO
       libfirestring(3)

				  2002-03-31		  firestring_strdup(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net