Hi Michael,

On 2009-01-13 13:43:03 +1300, Michael Kerrisk wrote:
> It is correct English, though slightly hard to parse.
> 
>     The value EOF is returned if [[the end of input is reached]] before
>     either [[the first successful conversion]] or [[a matching failure
>     occurs]].

OK, but in such a case, I think there should be a comma before "before".
Also, considering the case "the end of input is reached before a matching
failure occurs" is a bit strange because an end of input cannot occur
after a matching failure.

> The POSIX.1 spec says something different, much closer to the Linux
> man page:

I've checked that, and I think there's a contradiction between POSIX and
the ISO C on this point. I've just sent a mail to the mailing-list of the
austin group:

https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=show_archive.tpl&source=L&listname=austin-group-l&id=11809

-- 
Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to