OSDN Git Service

(split) LDP: Update original to LDP v3.63
[linuxjm/LDP_man-pages.git] / original / man3 / tempnam.3
index e183257..caf1867 100644 (file)
@@ -22,7 +22,7 @@
 .\" the source, must acknowledge the copyright and authors of this work.
 .\" %%%LICENSE_END
 .\"
-.TH TEMPNAM 3  2013-04-19 "" "Linux Programmer's Manual"
+.TH TEMPNAM 3  2014-02-27 "" "Linux Programmer's Manual"
 .SH NAME
 tempnam \- create a name for a temporary file
 .SH SYNOPSIS
@@ -40,6 +40,13 @@ Feature Test Macro Requirements for glibc (see
 .BR tempnam ():
 _BSD_SOURCE || _SVID_SOURCE
 .SH DESCRIPTION
+.I "Never use this function."
+Use
+.BR mkstemp (3)
+or
+.BR tmpfile (3)
+instead.
+
 The
 .BR tempnam ()
 function returns a pointer to a string that is a valid filename,
@@ -158,13 +165,6 @@ upon failure to find a unique name.
 .SH BUGS
 The precise meaning of "appropriate" is undefined;
 it is unspecified how accessibility of a directory is determined.
-
-Never use this function.
-Use
-.BR mkstemp (3)
-or
-.BR tmpfile (3)
-instead.
 .SH SEE ALSO
 .BR mkstemp (3),
 .BR mktemp (3),