summaryrefslogtreecommitdiff
path: root/lib/libc
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
parent7ba713edee5a60b45215bb92d706ee25d3a3e9a7 (diff)
Update STANDARDS section as appropriate for C99.
ok guenther@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdio/printf.310
-rw-r--r--lib/libc/stdio/stdio.36
2 files changed, 9 insertions, 7 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
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index adebf4af3a7..1aea9147013 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.25 2013/01/31 12:18:46 brad Exp $
+.\" $OpenBSD: stdio.3,v 1.26 2013/03/04 01:50:01 brad Exp $
.\"
.\" Copyright (c) 1990, 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 31 2013 $
+.Dd $Mdocdate: March 4 2013 $
.Dt STDIO 3
.Os
.Sh NAME
@@ -303,7 +303,7 @@ definitions are explicitly removed.
The
.Nm stdio
library conforms to
-.St -ansiC .
+.St -isoC-99 .
.Sh BUGS
The standard buffered functions do not interact well with certain other
library and system functions, especially