summaryrefslogtreecommitdiffstats
path: root/man3/tmpnam.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/tmpnam.3')
-rw-r--r--man3/tmpnam.334
1 files changed, 19 insertions, 15 deletions
diff --git a/man3/tmpnam.3 b/man3/tmpnam.3
index 5198e2e4f..5798faad7 100644
--- a/man3/tmpnam.3
+++ b/man3/tmpnam.3
@@ -5,7 +5,7 @@
.\"
.\" 2003-11-15, aeb, added tmpnam_r
.\"
-.TH tmpnam 3 2022-12-29 "Linux man-pages 6.03"
+.TH tmpnam 3 2023-07-20 "Linux man-pages 6.05.01"
.SH NAME
tmpnam, tmpnam_r \- create a name for a temporary file
.SH LIBRARY
@@ -15,8 +15,8 @@ Standard C library
.nf
.B #include <stdio.h>
.PP
-.BI "char *tmpnam(char *" s );
-.BI "char *tmpnam_r(char *" s );
+.BI "[[deprecated]] char *tmpnam(char *" s );
+.BI "[[deprecated]] char *tmpnam_r(char *" s );
.fi
.PP
.RS -4
@@ -88,34 +88,38 @@ No errors are defined.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
.BR attributes (7).
-.ad l
-.nh
.TS
allbox;
lbx lb lb
l l l.
Interface Attribute Value
T{
+.na
+.nh
.BR tmpnam ()
T} Thread safety MT-Unsafe race:tmpnam/!s
T{
+.na
+.nh
.BR tmpnam_r ()
T} Thread safety MT-Safe
.TE
-.hy
-.ad
.sp 1
.SH STANDARDS
-.BR tmpnam ():
-SVr4, 4.3BSD, C99, POSIX.1-2001.
-POSIX.1-2008 marks
+.TP
.BR tmpnam ()
-as obsolete.
-.PP
+C11, POSIX.1-2008.
+.TP
+.BR tmpnam_r ()
+None.
+.SH HISTORY
+.TP
+.BR tmpnam ()
+SVr4, 4.3BSD, C89, POSIX.1-2001.
+Obsolete in POSIX.1-2008.
+.TP
.BR tmpnam_r ()
-is a nonstandard extension that is also available
-.\" Appears to be on Solaris
-on a few other systems.
+Solaris.
.SH NOTES
The
.BR tmpnam ()