Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio Note inttypes(3) also here.



details:   https://anonhg.NetBSD.org/src/rev/7f96087e6ac6
branches:  trunk
changeset: 753257:7f96087e6ac6
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Mar 21 20:34:52 2010 +0000

description:
Note inttypes(3) also here.

diffstat:

 lib/libc/stdio/scanf.3 |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 3f8f7015f0e2 -r 7f96087e6ac6 lib/libc/stdio/scanf.3
--- a/lib/libc/stdio/scanf.3    Sun Mar 21 20:27:26 2010 +0000
+++ b/lib/libc/stdio/scanf.3    Sun Mar 21 20:34:52 2010 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: scanf.3,v 1.23 2009/12/14 07:29:23 wiz Exp $
+.\"    $NetBSD: scanf.3,v 1.24 2010/03/21 20:34:52 jruoho Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"    The Regents of the University of California.  All rights reserved.
@@ -397,6 +397,13 @@
 .Ql %\e0
 causes an immediate return of
 .Dv EOF .
+.Pp
+The format string specifier macros described in
+.Xr inttypes 3
+should be used for the standard
+.Dq C99
+fixed-size integers documented in
+.Xr stdint 3 .
 .Sh RETURN VALUES
 These
 functions
@@ -418,6 +425,7 @@
 the number of conversions which were successfully completed is returned.
 .Sh SEE ALSO
 .Xr getc 3 ,
+.Xr inttypes 3 ,
 .Xr printf 3 ,
 .Xr strtod 3 ,
 .Xr strtol 3 ,



Home | Main Index | Thread Index | Old Index