summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-06-01 01:01:57 +0000
committerguenther <guenther@openbsd.org>2012-06-01 01:01:57 +0000
commitb10cd18816ef05a64b29120c243bb2006d9f7465 (patch)
tree1db895bc32a81056ffcf399a00ae15b76777bfe2 /lib/libc/stdio
parentfix memory leak when mux socket creation fails; bz#2002 from bert.wesarg (diff)
downloadwireguard-openbsd-b10cd18816ef05a64b29120c243bb2006d9f7465.tar.xz
wireguard-openbsd-b10cd18816ef05a64b29120c243bb2006d9f7465.zip
Improve standards conformance: ecvt(), fcvt(), gcvt(), mktemp(), ttyslot(),
and valloc() are not in the current version, while posix_memalign() mkstemp(), and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'. ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/mktemp.312
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index b4a54a04575..6712c657367 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.48 2011/01/10 22:37:45 jmc Exp $
+.\" $OpenBSD: mktemp.3,v 1.49 2012/06/01 01:01:57 guenther Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 10 2011 $
+.Dd $Mdocdate: June 1 2012 $
.Dt MKTEMP 3
.Os
.Sh NAME
@@ -270,6 +270,14 @@ The ability to specify more than six Xs and setting
in case of errors are extensions to that standard.
.Pp
The
+.Fn mktemp
+function conforms to
+.St -p1003.1-2001 ;
+as of
+.St -p1003.1-2008
+it is no longer a part of the standard.
+.Pp
+The
.Fn mkstemps
function is non-standard and should not be used if portability is required.
.Sh HISTORY