e367c951f016246ca50539730e688897a2862c1e
[gnulib.git] / doc / glibc-functions / mkstemps.texi
1 @node mkstemps
2 @subsection @code{mkstemps}
3 @findex mkstemps
4
5 Gnulib module: mkstemps
6
7 Portability problems fixed by Gnulib:
8 @itemize
9 @item
10 This function is missing on many non-glibc platforms:
11 glibc 2.10, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 10, Cygwin
12 1.5.x, mingw, Interix 3.5, BeOS.
13 @item
14 This function is declared in @code{<unistd.h>} instead of @code{<stdlib.h>}
15 on some platforms:
16 MacOS X 10.5.
17 @item
18 On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
19 correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
20 @end itemize
21
22 Portability problems not fixed by Gnulib:
23 @itemize
24 @end itemize
25
26 The gnulib module @code{clean-temp} can create temporary files that will not
27 be left behind after signals such as SIGINT.