mkstemp
=======

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

Gnulib module: mkstemp

Portability problems fixed by Gnulib:

  * This function is missing on some platforms: mingw.

  * This function is declared in <unistd.h> instead of <stdlib.h> on some platforms: MacOS X 10.3.

  * On some platforms (HP-UX 10.20, SunOS 4.1.4, Solaris 2.5.1), mkstemp has a silly limit that it can create no more than 26 files from a given template.  On OSF/1 4.0f, it can create only 32 files per process.

  * On some older platforms, mkstemp can create a world or group writable or readable file, if you haven't set the process umask to 077.  This is a security risk.

Portability problems not fixed by Gnulib:

The gnulib module clean-temp can create temporary files that will not be left behind after signals such as SIGINT.