File: mkstemps.texi

package info (click to toggle)
gnulib 20250303-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 188,756 kB
  • sloc: ansic: 378,600; sh: 30,630; python: 8,358; cpp: 2,811; yacc: 1,846; perl: 920; makefile: 577; lisp: 328; sed: 11; java: 5
file content (31 lines) | stat: -rw-r--r-- 899 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@node mkstemps
@subsection @code{mkstemps}
@findex mkstemps

Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/mkstemps.3.html,,man mkstemps}

Gnulib module: mkstemps
@mindex mkstemps

Portability problems fixed by Gnulib:
@itemize
@item
This function is missing on many non-glibc platforms:
glibc 2.10, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 10,
Cygwin 1.5.x, mingw, MSVC 14.
@item
This function is declared in @code{<unistd.h>} instead of @code{<stdlib.h>}
on some platforms:
macOS 14.
@item
On platforms where @code{off_t} is a 32-bit type, @code{mkstemps} may not work
correctly to create files larger than 2 GB@.  (Cf. @code{AC_SYS_LARGEFILE}.)
@end itemize

Portability problems not fixed by Gnulib:
@itemize
@end itemize

@mindex clean-temp
The gnulib module @code{clean-temp} can create temporary files that will not
be left behind after signals such as SIGINT.