summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.3
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2000-12-24 00:30:46 +0000
committeraaron <aaron@openbsd.org>2000-12-24 00:30:46 +0000
commit50772e640915b6b9c44cb3d6508fa0a5fff413ef (patch)
treee150dc67a3a933729eb0634304fc47c25501106c /lib/libc/stdio/mktemp.3
parentSpelling: tripple -> triple (diff)
downloadwireguard-openbsd-50772e640915b6b9c44cb3d6508fa0a5fff413ef.tar.xz
wireguard-openbsd-50772e640915b6b9c44cb3d6508fa0a5fff413ef.zip
Various repairs, mostly to get rid of short lines.
Diffstat (limited to 'lib/libc/stdio/mktemp.3')
-rw-r--r--lib/libc/stdio/mktemp.310
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index 11b64fe3526..10a79fb84d1 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.24 2000/11/22 18:13:23 deraadt Exp $
+.\" $OpenBSD: mktemp.3,v 1.25 2000/12/24 00:30:58 aaron Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -86,9 +86,8 @@ should be used, though 10 is much better.
.Pp
The
.Fn mkstemp
-function
-makes the same replacement to the template and creates the template file,
-mode 0600, returning a file descriptor opened for reading and writing.
+function makes the same replacement to the template and creates the template
+file, mode 0600, returning a file descriptor opened for reading and writing.
This avoids the race between testing for a file's existence and opening it
for use.
.Pp
@@ -125,8 +124,7 @@ The
.Fn mkstemp
and
.Fn mkdtemp
-functions
-may set
+functions may set
.Va errno
to one of the following values:
.Bl -tag -width Er