summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/mktemp.3
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1997-10-07 22:21:33 +0000
committermillert <millert@openbsd.org>1997-10-07 22:21:33 +0000
commit642b82b4777389b87f66bae6947e03d853e98e80 (patch)
treec0586d331c469eb2ea5bd7247553a762c866fe38 /lib/libc/stdio/mktemp.3
parentAudio stuff from NetBSD (diff)
downloadwireguard-openbsd-642b82b4777389b87f66bae6947e03d853e98e80.tar.xz
wireguard-openbsd-642b82b4777389b87f66bae6947e03d853e98e80.zip
1) Don't truncate the input string when a directory cannot be stat'd
2) Use traditional mktemp(3) semantics. Don't return an error if directories in the path don't exist yet for mktemp(3) only.
Diffstat (limited to 'lib/libc/stdio/mktemp.3')
-rw-r--r--lib/libc/stdio/mktemp.34
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index f0c0866ae09..94020563289 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.4 1997/06/20 04:10:18 millert Exp $
+.\" $OpenBSD: mktemp.3,v 1.5 1997/10/07 22:21:33 millert Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -102,7 +102,6 @@ If either call fails an error code is placed in the global variable
.Va errno .
.Sh ERRORS
The
-.Fn mktemp ,
.Fn mkstemp
and
.Fn mkdtemp
@@ -116,7 +115,6 @@ The pathname portion of the template is not an existing directory.
.El
.Pp
The
-.Fn mktemp ,
.Fn mkstemp
and
.Fn mkdtemp