diff options
Diffstat (limited to 'man3/tempnam.3')
| -rw-r--r-- | man3/tempnam.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/man3/tempnam.3 b/man3/tempnam.3 index e183257eac..caf1867eeb 100644 --- a/man3/tempnam.3 +++ b/man3/tempnam.3 @@ -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), |
