aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2008-07-07 14:37:42 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2008-07-07 14:37:42 +0000
commitf9d17bc4fb816ab54a63e3a72f7d8da320a6afd1 (patch)
tree2329fe0f052c59c54c29e07c3f1ceb8999f77b4e /man3
parent3f89dd3d82bd8cf36e724fc4d9afe3ba25df7e60 (diff)
downloadman-pages-f9d17bc4fb816ab54a63e3a72f7d8da320a6afd1.tar.gz
Clarify treatment of intial white space by %% conversion specification.
as per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=435648.
Diffstat (limited to 'man3')
-rw-r--r--man3/scanf.38
1 files changed, 4 insertions, 4 deletions
diff --git a/man3/scanf.3 b/man3/scanf.3
index c473088d9d..1cde231358 100644
--- a/man3/scanf.3
+++ b/man3/scanf.3
@@ -47,7 +47,7 @@
.\" Add ERRORS section.
.\" Document the 'a' and 'm' modifiers for dynamic string allocation.
.\"
-.TH SCANF 3 2008-06-23 "GNU" "Linux Programmer's Manual"
+.TH SCANF 3 2008-07-08 "GNU" "Linux Programmer's Manual"
.SH NAME
scanf, fscanf, sscanf, vscanf, vsscanf, vfscanf \- input format conversion
.SH SYNOPSIS
@@ -213,7 +213,7 @@ An optional decimal integer which specifies the
.IR "maximum field width" .
Reading of characters stops either when this maximum is reached or
when a non-matching character is found, whichever happens first.
-Most conversions discard initial whitespace characters (the exceptions
+Most conversions discard initial white space characters (the exceptions
are noted below),
and these discarded characters don't count towards the maximum field width.
String input conversions store a null terminator (\(aq\\0\(aq)
@@ -375,8 +375,8 @@ That is,
.B %\&%
in the format string matches a
single input \(aq%\(aq character.
-No conversion is done, and assignment does not
-occur.
+No conversion is done (but initial white space characters are discarded),
+and assignment does not occur.
.TP
.B d
Matches an optionally signed decimal integer;