draft ANSI standard: one change that would *really* help Europe

Ron Natalie <ron> ron at brl-sem.ARPA
Mon Dec 15 05:24:36 AEST 1986


Correct me if I am wrong, but there is no place in STDIO where EOF is
ever meant to be applied to a character.  The only thing that EOF is
defined for is functions returning int.

Second, nowhere is it stated that (unsigned) -1 will give you a word of
all ones.  Becareful when making this assumption.  I spend a lot of time
fixing up the Berkeley network code because of this.

-Ron



More information about the Comp.lang.c mailing list