From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Message-id: <6ACC80E1-EB30-44AF-A1CA-72B990AE6A6B@mac.com> From: Pietro Gagliardi To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> In-reply-to: Date: Mon, 7 Jul 2008 17:01:08 -0400 References: Subject: Re: [9fans] APE printf difference Topicbox-Message-UUID: dded396a-ead3-11e9-9d60-3106f5b1d025 C89 does have such a requirement, in two places: Section 5.1.2.3: "... - The input and output dynamics of interactive devices shall take place as specified in 7.9.3. ... or line-buffered input appear as soon as possible, to ensure that prompting messages actually appear prior to a program waiting for input. ..." Section 7.9.3: "... Furthermore, characters are intended to be transmitted as a block to the host environment when ... input is requested on an unbuffered stream, or input is requested on a line buffered stream ..." So there you go. I don't know about C99, but I do know POSIX/SUS are designed to be aligned with standard C. Pietro