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 .\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -37,7 +37,7 @@
.\" .\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93 .\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\" .\"
.Dd April 26, 2001 .Dd April 30, 2001
.Dt PRINTF 3 .Dt PRINTF 3
.Os .Os
.Sh NAME .Sh NAME
@ -666,7 +666,21 @@ and
.Fn vsprintf .Fn vsprintf
functions functions
conform to 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 .Sh HISTORY
The functions The functions
.Fn snprintf .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 .\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved. .\" The Regents of the University of California. All rights reserved.
@ -37,7 +37,7 @@
.\" .\"
.\" @(#)scanf.3 8.2 (Berkeley) 12/11/93 .\" @(#)scanf.3 8.2 (Berkeley) 12/11/93
.\" .\"
.Dd April 26, 2001 .Dd April 30, 2001
.Dt SCANF 3 .Dt SCANF 3
.Os .Os
.Sh NAME .Sh NAME
@ -416,7 +416,22 @@ The functions
and and
.Fn sscanf .Fn sscanf
conform to 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 .Sh HISTORY
The functions The functions
.Fn vscanf , .Fn vscanf ,