doc: Mention the effects of AC_SYS_LARGEFILE.
[pspp] / 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 @end itemize
18
19 Portability problems not fixed by Gnulib:
20 @itemize
21 @item
22 On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
23 correctly to create files larger than 2 GB.  The fix is to use the
24 @code{AC_SYS_LARGEFILE} macro.
25 @end itemize
26
27 The gnulib module @code{clean-temp} can create temporary files that will not
28 be left behind after signals such as SIGINT.