fchmod-tests, fchmodat tests, lchmod tests: Add more tests.
[gnulib.git] / doc / glibc-functions / mkostemp.texi
blobda483d10517d90002581f98e29135aab28bf8d2b
1 @node mkostemp
2 @subsection @code{mkostemp}
3 @findex mkostemp
5 Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/mkostemp.3.html,,man mkostemp}
7 Gnulib module: mkostemp
9 Portability problems fixed by Gnulib:
10 @itemize
11 @item
12 This function is missing on many non-glibc platforms:
13 glibc 2.6, Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, Solaris 11.4, Cygwin 1.7.5, mingw, MSVC 14, Android 5.1.
14 @item
15 This function is declared in @code{<unistd.h>} instead of @code{<stdlib.h>}
16 on some platforms:
17 Mac OS X 10.13.
18 @item
19 On platforms where @code{off_t} is a 32-bit type, @code{mkostemp} may not work
20 correctly to create files larger than 2 GB@.  (Cf. @code{AC_SYS_LARGEFILE}.)
21 @end itemize
23 Portability problems not fixed by Gnulib:
24 @itemize
25 @end itemize
27 The gnulib module @code{clean-temp} can create temporary files that will not
28 be left behind after signals such as SIGINT.