summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/mktemp.3
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-10-07 22:21:35 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-10-07 22:21:35 +0000
commit8a28f020ad85f30634fc6cda859e198dedbaf669 (patch)
treeba74cc2137224e2c398c365c2c5713c30ee4b5cc /lib/libc/stdio/mktemp.3
parentca7c0b7be348ee6e20a9e029457b2cb54955cd39 (diff)
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