strdup
======

POSIX specification: http://www.opengroup.org/onlinepubs/9699919799/functions/strdup.html

Gnulib module: strdup or strdup-posix

Portability problems fixed by either Gnulib module strdup or strdup-posix:

  * This function is missing on some old platforms.

  * This function has no prototype in <string.h> on some old platforms.

Portability problems fixed by Gnulib module strdup-posix:

  * Upon failure, the function does not set errno to ENOMEM on some platforms: mingw.

Portability problems not fixed by Gnulib: