summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2000-01-09 09:36:17 +0000
committerderaadt <deraadt@openbsd.org>2000-01-09 09:36:17 +0000
commit15a52ba3c4a5951c4b76d52f5530c1ae9709f9cd (patch)
tree53cf2899ff82b8e49efad132521e6a94374cd889 /lib/libc
parentRemove the hack to make xterm fit. Tic with the new termtypes file is (diff)
downloadwireguard-openbsd-15a52ba3c4a5951c4b76d52f5530c1ae9709f9cd.tar.xz
wireguard-openbsd-15a52ba3c4a5951c4b76d52f5530c1ae9709f9cd.zip
fix tmpnam() argument; kris@freebsd
Diffstat (limited to 'lib/libc')
-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 05307cf9b99..4c26613a26f 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmpnam.3,v 1.6 1999/07/09 13:35:23 aaron Exp $
+.\" $OpenBSD: tmpnam.3,v 1.7 2000/01/09 09:36:17 deraadt Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -86,7 +86,7 @@ past.
is defined in the include file
.Aq Pa stdio.h .
If the argument
-.Fa s
+.Fa str
is
.Pf non- Dv NULL ,
the file name is copied to the buffer it references.
@@ -96,7 +96,7 @@ In either case,
returns a pointer to the file name.
.Pp
The buffer referenced by
-.Fa s
+.Fa str
is expected to be at least
.Dv L_tmpnam
bytes in length.