On Tue, Mar 05, 2013 at 04:03:10PM +0100, Otto Moerbeek wrote: > > > > better than mine, but better still with commas after "failure" and > > "end-of-file". > > > > jmc > > Like this? >
yes. ok me. jmc > -Otto > > Index: scanf.3 > =================================================================== > RCS file: /cvs/src/lib/libc/stdio/scanf.3,v > retrieving revision 1.20 > diff -u -p -r1.20 scanf.3 > --- scanf.3 18 Jan 2012 14:01:38 -0000 1.20 > +++ scanf.3 5 Mar 2013 15:02:52 -0000 > @@ -423,8 +423,9 @@ such as an alphabetic character for a > conversion. > The value > .Dv EOF > -is returned if an input failure occurs before any conversion such as an > -end-of-file occurs. > +is returned if an input failure, > +such as an end-of-file, > +occurs before any conversion. > If an error or end-of-file occurs after conversion has begun, > the number of conversions which were successfully completed is returned. > .Sh SEE ALSO

