summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/printf.3
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2013-03-04 01:50:02 +0000
committerBrad Smith <brad@cvs.openbsd.org>2013-03-04 01:50:02 +0000
commitf9a3eb797bfd9d16eda390e8ae8cee50c2bbc72e (patch)
treefb99693a07ebc5af1c25a6a5c04eced7f58bea91 /lib/libc/stdio/printf.3
parent7ba713edee5a60b45215bb92d706ee25d3a3e9a7 (diff)
Update STANDARDS section as appropriate for C99.
ok guenther@
Diffstat (limited to 'lib/libc/stdio/printf.3')
-rw-r--r--lib/libc/stdio/printf.310
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index 61767cd4784..24ceb425d1b 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.60 2013/01/30 00:08:13 brad Exp $
+.\" $OpenBSD: printf.3,v 1.61 2013/03/04 01:50:01 brad Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: January 30 2013 $
+.Dd $Mdocdate: March 4 2013 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -757,13 +757,15 @@ newfmt(const char *fmt, ...)
The
.Fn fprintf ,
.Fn printf ,
+.Fn snprintf ,
.Fn sprintf ,
-.Fn vprintf ,
.Fn vfprintf ,
+.Fn vprintf ,
+.Fn vsnprintf ,
and
.Fn vsprintf
functions conform to
-.St -ansiC .
+.St -isoC-99 .
The
.Fn dprintf
and