Next: mktime
, Previous: mknodat
, Up: ISO C and POSIX Function Substitutes [Contents][Index]
mkstemp
POSIX specification:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/mkstemp.html
Gnulib module: mkstemp
Portability problems fixed by Gnulib:
off_t
is a 32-bit type, mkstemp
may not work
correctly to create files 2 GiB and larger. See Large File Support.
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.