Strdup(3) with internal result checking
#include <firestring.h>
-lfirestring
char *firestring_strdup(const char * const input)
If firestring_strdup() returns, it always returns a copy of the string input. It never returns NULL.
Ian Gulliver <[email protected]>