getc() != EOF

FIRTH%TARTAN at CMU-CS-C.ARPA FIRTH%TARTAN at CMU-CS-C.ARPA
Thu May 24 08:18:01 AEST 1984


In all conscience,

	while ( (c = getc()) != EOF )

ought to work.  If somebody is to be blamed, it is surely not the
people who wrote the code, but the people who made a C implementation
that broke it.

-------



More information about the Comp.unix.wizards mailing list