Clarify C standards situation a bit.

This commit is contained in:
kleink 2001-04-30 08:47:59 +00:00
parent 6becddcc57
commit a251b29d5a
2 changed files with 35 additions and 6 deletions

View File

@ -1,4 +1,4 @@
.\" $NetBSD: printf.3,v 1.18 2001/04/28 15:41:29 kleink Exp $
.\" $NetBSD: printf.3,v 1.19 2001/04/30 08:47:59 kleink Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -37,7 +37,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
.Dd April 26, 2001
.Dd April 30, 2001
.Dt PRINTF 3
.Os
.Sh NAME
@ -666,7 +666,21 @@ and
.Fn vsprintf
functions
conform to
.St -ansiC .
.St -isoC90 .
The conversion format modifiers
.Cm %j ,
.Cm %t
and
.Cm %z
conform to
.St -isoC99 .
The
.Fn snprintf
and
.Fn vsnprintf
functions
conform to
.St -isoC99 .
.Sh HISTORY
The functions
.Fn snprintf

View File

@ -1,4 +1,4 @@
.\" $NetBSD: scanf.3,v 1.11 2001/04/28 15:41:29 kleink Exp $
.\" $NetBSD: scanf.3,v 1.12 2001/04/30 08:47:59 kleink Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@ -37,7 +37,7 @@
.\"
.\" @(#)scanf.3 8.2 (Berkeley) 12/11/93
.\"
.Dd April 26, 2001
.Dd April 30, 2001
.Dt SCANF 3
.Os
.Sh NAME
@ -416,7 +416,22 @@ The functions
and
.Fn sscanf
conform to
.St -ansiC .
.St -isoC90 .
The
.Cm %j ,
.Cm %t
and
.Cm %z
conversion format modifiers
conform to
.St -isoC99 .
The
.Fn vfscanf ,
.Fn vscanf
and
.Fn vsscanf
functions conform to
.St -isoC99 .
.Sh HISTORY
The functions
.Fn vscanf ,