.\" 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
.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,
.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),