errno-h: document Haiku errors can’t be -1
[gnulib.git] / doc / glibc-functions / mkstemps.texi
blob00ddc32cdcb73f60c2016ae0b307b1054bd09d2d
1 @node mkstemps
2 @subsection @code{mkstemps}
3 @findex mkstemps
5 Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/mkstemps.3.html,,man mkstemps}
7 Gnulib module: mkstemps
8 @mindex mkstemps
10 Portability problems fixed by Gnulib:
11 @itemize
12 @item
13 This function is missing on many non-glibc platforms:
14 glibc 2.10, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10,
15 Cygwin 1.5.x, mingw, MSVC 14.
16 @item
17 This function is declared in @code{<unistd.h>} instead of @code{<stdlib.h>}
18 on some platforms:
19 macOS 14.
20 @item
21 On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
22 correctly to create files larger than 2 GB@.  (Cf. @code{AC_SYS_LARGEFILE}.)
23 @end itemize
25 Portability problems not fixed by Gnulib:
26 @itemize
27 @end itemize
29 @mindex clean-temp
30 The gnulib module @code{clean-temp} can create temporary files that will not
31 be left behind after signals such as SIGINT.