Path: utzoo!attcan!uunet!snorkelwacker!paperboy!meissner From: meissner@osf.org (Michael Meissner) Newsgroups: comp.unix.wizards Subject: Re: Is it standard for stderr to be unbuffered? Message-ID: Date: 1 Feb 90 21:55:14 GMT References: <1534@uakari.primate.wisc.edu> Sender: news@OSF.ORG Organization: Open Software Foundation Lines: 30 In-reply-to: bin@primate.wisc.edu's message of 1 Feb 90 16:33:00 GMT In article <1534@uakari.primate.wisc.edu> bin@primate.wisc.edu (Brain in Neutral) writes: | Do there exist systems on which stderr is NOT unbuffered, e.g., | line buffered? While it's not a UNIX system, Data General's C compiler for AOS/VS and AOS/VS-II automatically line buffers standard error (the overhead for writing single characters was high enough, particularly through networks, that users complained). Even though I wrote most of the compiler, and some of the library routines, I can't remember whether the native UNIX on the MV platform (DG/UX) line buffers or unbuffers standard error. I suspect it line buffers it, since most of the standard I/O code was the same as for AOS/VS. The 88k (AViiON) of DG/UX uses the standard I/O code from AT&T System V.3, so it gets whatever that system uses (unbuffers I believe). In addition, I would suspect that C on other non-UNIX systems such as VMS and MVS would line buffer standard error. -- -- Michael Meissner email: meissner@osf.org phone: 617-621-8861 Open Software Foundation, 11 Cambridge Center, Cambridge, MA Catproof is an oxymoron, Childproof is nearly so