firestring_strdup(3) debian man page | unix.com

Man Page: firestring_strdup

Operating Environment: debian

Section: 3

firestring_strdup(3)					     Library Functions Manual					      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)
Related Man Pages
strdupa(3) - redhat
strdup(3) - redhat
xfree(3pub) - debian
firestring_snprintf(3) - debian
xmalloc(3pub) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Introduction
Find columns in a file based on header and print to new file
A (ksh) Library For and From UNIX.com
How to copy a column of multiple files and paste into new excel file (next to column)?