summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-06-06 15:17:31 +0000
committeraaron <aaron@openbsd.org>1999-06-06 15:17:31 +0000
commit65adce91856c4e06b09c4ec1e568143d40ece620 (patch)
treecd62f8001cda48e39d8efecfb08d17c52b638f5e /lib/libc/stdio
parentUgly workaround an alpha egcs bug (diff)
downloadwireguard-openbsd-65adce91856c4e06b09c4ec1e568143d40ece620.tar.xz
wireguard-openbsd-65adce91856c4e06b09c4ec1e568143d40ece620.zip
some NAME section cleanup
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/mktemp.39
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index de5991617a4..b3949caa39c 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.15 1999/05/25 21:16:26 aaron Exp $
+.\" $OpenBSD: mktemp.3,v 1.16 1999/06/06 15:17:31 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -35,7 +35,10 @@
.Dt MKTEMP 3
.Os
.Sh NAME
-.Nm mktemp
+.Nm mktemp ,
+.Nm mkstemp ,
+.Nm mkstemps ,
+.Nm mkdtemp
.Nd make temporary file name (unique)
.Sh SYNOPSIS
.Fd #include <unistd.h>
@@ -233,7 +236,7 @@ should be rewritten like this:
char sfn[15] = "";
FILE *sfp;
int fd = -1;
-
+
strcpy(sfn, "/tmp/ed.XXXXXX");
if ((fd = mkstemp(sfn)) == -1 ||
(sfp = fdopen(fd, "w+")) == NULL) {