f9635ed55c0410ea8b91a638e4fba848580d183a
[gnulib.git] / doc / glibc-functions / mkostemp.texi
1 @node mkostemp
2 @subsection @code{mkostemp}
3 @findex mkostemp
4
5 Gnulib module: mkostemp
6
7 Portability problems fixed by Gnulib:
8 @itemize
9 @item
10 This function is missing on many non-glibc platforms:
11 MacOS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, AIX 5.1, HP-UX 11,
12 IRIX 6.5, OSF/1 5.1, Solaris 11 2010-11, Cygwin 1.7.5, mingw, Interix 3.5, BeOS.
13 @end itemize
14
15 Portability problems not fixed by Gnulib:
16 @itemize
17 @item
18 On platforms where @code{off_t} is a 32-bit type, @code{mkostemp} may not work
19 correctly to create files larger than 2 GB.  The fix is to use the
20 @code{AC_SYS_LARGEFILE} macro.
21 @end itemize
22
23 The gnulib module @code{clean-temp} can create temporary files that will not
24 be left behind after signals such as SIGINT.