Xref: utzoo comp.sys.amiga.tech:1546 comp.lang.c:11886 Path: utzoo!utgpu!water!watmath!clyde!ima!haddock!karl From: karl@haddock.ima.isc.com (Karl Heuer) Newsgroups: comp.sys.amiga.tech,comp.lang.c Subject: stdio buffer flushing (was: Lattice C 4.0 bugs) Message-ID: <6234@haddock.ima.isc.com> Date: 18 Aug 88 18:52:52 GMT References: <6627@bloom-beacon.MIT.EDU> <3750@ece-csc.UUCP> <2458@sugar.uu.net> Reply-To: karl@haddock.isc.com (Karl Heuer) Followup-To: comp.lang.c Organization: Interactive Systems, Boston Lines: 9 In article <2458@sugar.uu.net> peter@sugar.uu.net (Peter da Silva) writes: >Even better would be to adopt the Berkeley stdio convention, and have >filbuf on an interactive stream do a flush on all interactive output >streams. That way you get the correct result when you print a prompt, >and you don't have an extra check on every character output. ANSI has blessed this convention. Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint