aboutsummaryrefslogtreecommitdiffstats
path: root/man3/scanf.3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2015-12-04 20:05:17 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2015-12-05 10:40:31 +0100
commitdd1d112d2ff018ca81b200902de2a9eed3382dd7 (patch)
tree8516669a8b59c78287b5219f97fa15e9212dd9fb /man3/scanf.3
parent73ea29aac2cf5699ce3ae28c20b972fa608224ef (diff)
downloadman-pages-dd1d112d2ff018ca81b200902de2a9eed3382dd7.tar.gz
scanf.3: Minor wording fix in %s description
Reported-by: Stefan Tauner <tauner@technikum-wien.at> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/scanf.3')
-rw-r--r--man3/scanf.34
1 files changed, 2 insertions, 2 deletions
diff --git a/man3/scanf.3 b/man3/scanf.3
index 801e96120e..c6adec01fb 100644
--- a/man3/scanf.3
+++ b/man3/scanf.3
@@ -451,8 +451,8 @@ Equivalent to
.TP
.B s
Matches a sequence of non-white-space characters;
-the next pointer must be a pointer to character array that is
-long enough to hold the input sequence and
+the next pointer must be a pointer to the initial element of a
+character array that is long enough to hold the input sequence and
the terminating null byte (\(aq\\0\(aq), which is added automatically.
The input string stops at white space or at the maximum field
width, whichever occurs first.