diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-24 00:31:01 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 2000-12-24 00:31:01 +0000 |
commit | b1044a070b87b20a73f593b1087fae3a062d5920 (patch) | |
tree | daa375c4c5a8cf9fabd0f0657b2141fbb899ef71 /lib/libc/stdio/scanf.3 | |
parent | 89891a551cfa28139f6165de0c822d75e1035761 (diff) |
Various repairs, mostly to get rid of short lines.
Diffstat (limited to 'lib/libc/stdio/scanf.3')
-rw-r--r-- | lib/libc/stdio/scanf.3 | 21 |
1 files changed, 7 insertions, 14 deletions
diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index 9226e6f8b0a..97c33a59fc1 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: scanf.3,v 1.9 2000/07/31 22:20:56 pjanzen Exp $ +.\" $OpenBSD: scanf.3,v 1.10 2000/12/24 00:30:59 aaron Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -113,8 +113,7 @@ All conversions are introduced by the (percent sign) character. The .Fa format -string -may also contain other characters. +string may also contain other characters. Whitespace (such as blanks, tabs, or newlines) in the .Fa format string match any amount of whitespace, including none, in the input. @@ -333,8 +332,7 @@ a conversion, although it can be suppressed with the flag. .El .Pp -For backwards compatibility, -other conversion characters (except +For backwards compatibility, other conversion characters (except .Ql \e0 ) are taken as if they were .Ql %d @@ -345,15 +343,10 @@ and a `conversion' of causes an immediate return of .Dv EOF . .Sh RETURN VALUES -These -functions -return -the number of input items assigned, which can be fewer than provided -for, or even zero, in the event of a matching failure. -Zero -indicates that, while there was input available, -no conversions were assigned; -typically this is due to an invalid input character, +These functions return the number of input items assigned, which can be fewer +than provided for, or even zero, in the event of a matching failure. +Zero indicates that, while there was input available, no conversions were +assigned; typically this is due to an invalid input character, such as an alphabetic character for a .Ql %d conversion. |