On 2 June 2011 18:09, Tony Finch <firstname.lastname@example.org>
> What does the standard say is*() should return if the argument is EOF?It seems to be unspecified. This is probably a bug in the standard.
> Is that specified at all?
Here's a link to C99 with all the technical corrigenda included. The
relevant part is section 7.4 starting on page 181.
f.anthony.n.finch �<email@example.com> �http://dotat.at/
Rockall, Malin, Hebrides: South 5 to 7, occasionally gale 8 at first in
Rockall and Malin, veering west or northwest 4 or 5, then backing southwest 5
or 6 later. Rough or very rough. Occasional rain. Moderate or good,
Although the C99 standard does not state it, the C99 rationale v5.1 does
"7.4.1 Character classification functions�
The definitions of printing character and control character have been generalized from ASCII.�
Note that none of these functions returns a nonzero value (true) for the argument value EOF."