P
Peter Nilsson
raphfrk said:Ahh, so the EOF return is in effect useless if you want 100% portable
code.
Yes, but no one wants to write 100% portable code. Most people are
happy with 99.9999%. Hell, Windoze programmers are happy with 5%. ;-)
AFAIK, no implementation writer has yet built a hosted implementation
where INT_MAX < UCHAR_MAX, intending it for practical use.
I know of one case where it was considered (with old Crays,) but it
was
rejected because the vast majority of code assumes that isn't the
case.