On Tue, Mar 05, 2013 at 03:06:34PM +0100, Otto Moerbeek wrote: > On Tue, Mar 05, 2013 at 03:00:01PM +0100, Jan Stary wrote: > > > On Mar 05 13:30:53, [email protected] wrote: > > > On Sun, Mar 03, 2013 at 11:40:52AM +0100, Jan Stary wrote: > > > > The following part of the scanf(3) manpage > > > > probably needs to be reworded: > > > > > > > > The value > > > > .Dv EOF > > > > is returned if an input failure occurs before any conversion such as > > > > an > > > > end-of-file occurs. > > > > > > > > (I won't even attempt it, as I am not sure > > > > what the behaviour actually is.) > > > > > > > > > > what is wrong with it? > > > > Probably just my English comprehension, > > but "conversion such as end-of-file" bugs me. > > How about: > > The value EOF is returned if an input failure such as an end-of-file occurs > before any conversion. > > -Otto >
better than mine, but better still with commas after "failure" and "end-of-file". jmc

