gnulib-tool.py: import mktemp
[gnulib.git] / doc / glibc-functions / mkostemps.texi
blobca018d8ccee0fb93c38ceeae48970a7447d3e620
1 @node mkostemps
2 @subsection @code{mkostemps}
3 @findex mkostemps
5 Gnulib module: mkostemps
7 Portability problems fixed by Gnulib:
8 @itemize
9 @item
10 This function is missing on many non-glibc platforms:
11 glibc 2.10, 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, OSF/1 5.1, Solaris 11.3, Cygwin 1.7.5, mingw, MSVC 14, Interix 3.5, BeOS, Android 5.1.
12 @item
13 On platforms where @code{off_t} is a 32-bit type, @code{mkostemps} may not work
14 correctly to create files larger than 2 GB.  (Cf. @code{AC_SYS_LARGEFILE}.)
15 @end itemize
17 Portability problems not fixed by Gnulib:
18 @itemize
19 @end itemize
21 The gnulib module @code{clean-temp} can create temporary files that will not
22 be left behind after signals such as SIGINT.