summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-09-07 05:37:07 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-09-07 05:37:07 +0000
commitf942967909882c0a17253bce0fa752a3e879ab3e (patch)
treeee70e4afc62b6b7d5408d9a7866082b6657e3568 /lib/libc/stdio
parent03bf03fc2ba50930d910522b4a12c86e3e1d834d (diff)
tmpname -> tempnam; from Artturi Alm
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/tmpnam.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index ffab49111fd..5e08dfa247a 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmpnam.3,v 1.16 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: tmpnam.3,v 1.17 2012/09/07 05:37:06 jmc Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: September 7 2012 $
.Dt TMPFILE 3
.Os
.Sh NAME
@@ -202,7 +202,7 @@ interface).
First, there is an obvious race between file name selection and file
creation and deletion: the program is typically written to call
.Fn tmpnam ,
-.Fn tmpname ,
+.Fn tempnam ,
or
.Xr mktemp 3 .
Subsequently, the program calls