summaryrefslogtreecommitdiff
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authorJared Yanovich <jaredy@cvs.openbsd.org>2005-07-26 03:27:05 +0000
committerJared Yanovich <jaredy@cvs.openbsd.org>2005-07-26 03:27:05 +0000
commit03ed4d1150e07efa307ccba0948c2a9ba9452e27 (patch)
tree43bba962452df6a1a9e80f554990beb0d3f4d926 /lib/libc/stdio
parent99521718bc7d9ea95655644fc388868af9f2b741 (diff)
clarify description of 'c' conversion; ok millert, jmc
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/scanf.37
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3
index e81b1cf409b..d533d7a7b0f 100644
--- a/lib/libc/stdio/scanf.3
+++ b/lib/libc/stdio/scanf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: scanf.3,v 1.12 2003/09/26 16:24:56 deraadt Exp $
+.\" $OpenBSD: scanf.3,v 1.13 2005/07/26 03:27:04 jaredy Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -262,9 +262,8 @@ array must be 1 larger for the terminating
.Tn NUL
character.
.It Cm c
-Matches a sequence of
-.Li width
-count characters (default 1);
+Matches a sequence of characters consuming the number of bytes
+specified by the field width (defaults to 1 if unspecified);
the next pointer must be a pointer to
.Li char ,
and there must be enough room for all the characters