Module Name:    src
Committed By:   jruoho
Date:           Sun Mar 21 20:34:52 UTC 2010

Modified Files:
        src/lib/libc/stdio: scanf.3

Log Message:
Note inttypes(3) also here.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/stdio/scanf.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/stdio/scanf.3
diff -u src/lib/libc/stdio/scanf.3:1.23 src/lib/libc/stdio/scanf.3:1.24
--- src/lib/libc/stdio/scanf.3:1.23	Mon Dec 14 07:29:23 2009
+++ src/lib/libc/stdio/scanf.3	Sun Mar 21 20:34:52 2010
@@ -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 ,

Reply via email to