Query: firestring_strdup
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
firestring_strdup(3) Library Functions Manual firestring_strdup(3)NAMEfirestring_strdup - strdup(3) with internal result checkingSYNOPSIS#include <firestring.h> -lfirestring char *firestring_strdup(const char * const input)DESCRIPTIONfirestring_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 VALUEIf firestring_strdup() returns, it always returns a copy of the string input. It never returns NULL.AUTHORIan Gulliver <ian@penguinhosting.net>SEE ALSOlibfirestring(3) 2002-03-31 firestring_strdup(3)
| Related Man Pages |
|---|
| strdup(3) - redhat |
| strndup(3) - redhat |
| strndupa(3) - redhat |
| xfree(3pub) - debian |
| xmalloc(3pub) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| awk or sed - Convert 2 lines to 1 line |
| Detecting unused variables... |
| Find columns in a file based on header and print to new file |
| Weird 'find' results |
| New UNIX and Linux History Sections |