From: Eric Backus Subject: Re: O_TEXT/O_BINARY grief To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp) Date: Tue, 21 Jun 94 8:37:50 PDT Mailer: Elm [revision: 70.85] > > I don't know about ANSI, but the only reference to whitespace I > > found in a 15 second look at the K&R index was to the whitespace > > counting program, where '\r' is not considered white space. > > We are getting rather off topic, but K&R 2nd edition, pages 157, 245 and 249 > each say that the white space characters are blank, tab, newline, carriage > return, vertical tab and formfeed. Yes, and ANSI C agrees. Also, the ANSI C function isspace() returns true for those same six characters. But the C preprocessor must know about line end characters, so that it knows when macro definitions and ifdefs end, and so that it can remove backslash-newline combinations. -- Eric Backus ericb AT lsid DOT hp DOT com (206) 335-2495