summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/tmpnam.3
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2012-09-07 05:37:06 +0000
committerjmc <jmc@openbsd.org>2012-09-07 05:37:06 +0000
commit69093b273b0e33c8d8e5f7b8c99163258f14b85e (patch)
tree542b0d38d4befa58921e1cae2a4bb2fedaa4e6c3 /lib/libc/stdio/tmpnam.3
parentGive this a chance to build with gcc2. ok matthew@ (diff)
downloadwireguard-openbsd-69093b273b0e33c8d8e5f7b8c99163258f14b85e.tar.xz
wireguard-openbsd-69093b273b0e33c8d8e5f7b8c99163258f14b85e.zip
tmpname -> tempnam; from Artturi Alm
Diffstat (limited to 'lib/libc/stdio/tmpnam.3')
-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