GDN:strdup
s into a newly allocated string. The string is allocated using malloc If malloc cannot allocate space for the new string, strdup> returns a null pointer. Otherwise it returns a pointer to the new wide character string.
Contents
Prototype
<source lang="c">char * strdup (const char *s)</source>