Am 05.03.2013 15:12, schrieb Jason McIntyre:
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, j...@kerhand.co.uk 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


How about:

If an input failure, like end-of-file, occures, the value EOF is returned, before attempting any conversion.

Maybe change _before_ to _instead_, i think this describes the process more detailed (AFAIK in case of error, there is no conversion at all)

Regards,

Matthias

Reply via email to