[comp.unix.wizards] Is it standard for stderr to be unbuffered?

bin@primate.wisc.edu (Brain in Neutral) (02/02/90)

Do there exist systems on which stderr is NOT unbuffered, e.g.,
line buffered?

Paul DuBois
Internet:	dubois@primate.wisc.edu
UUCP:		rhesus!dubois
FAX:		608/263-4031

meissner@osf.org (Michael Meissner) (02/02/90)

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