Path: utzoo!attcan!uunet!husc6!mailrus!nrl-cmf!ames!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.ARPA (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: line buffering Message-ID: <7918@brl-smoke.ARPA> Date: 18 May 88 14:42:04 GMT References: <700@mcrware.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Distribution: na Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 18 In article <700@mcrware.UUCP> jejones@mcrware.UUCP (James Jones) writes: >What I'm wondering about is this: does that last clause mean that whenever >someone does input on *any* line buffered or unbuffered stream, a conforming >implementation should flush buffers on *all* line buffered streams? Yes. (By the way, note that the proposed Standard deals only with a single program; it does not imply that other processes in a multitasking environment are affected!) >... the last clause is the only one that explicitly says "any...stream." It's intentional. >(Somewhere I have a Stuart Chase book that quotes a city council session >in which the council members thrashed out the precise wording of a leash law. "Dogs shall be kept on leashes while in the park." etc. You can find this somewhere in Newman's "The World of Mathematics".