diff options
author | 2005-07-26 03:27:04 +0000 | |
---|---|---|
committer | 2005-07-26 03:27:04 +0000 | |
commit | 325f63acae4f0327fcc3c72c61e5d20e2b49a6e9 (patch) | |
tree | af4e60414ac0a9cdedb36cd9eefa8d8ea48f4873 /lib/libc/stdio | |
parent | no need to typecast NULL; ok millert, jmc (diff) | |
download | wireguard-openbsd-325f63acae4f0327fcc3c72c61e5d20e2b49a6e9.tar.xz wireguard-openbsd-325f63acae4f0327fcc3c72c61e5d20e2b49a6e9.zip |
clarify description of 'c' conversion; ok millert, jmc
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/scanf.3 | 7 |
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 |