Date: Thu, 13 Jul 2000 15:38:24 -0400 Message-Id: <200007131938.PAA26113@envy.delorie.com> From: DJ Delorie To: djgpp AT delorie DOT com In-reply-to: <8kkv0e$4co$1@geraldo.cc.utexas.edu> (yosuke@ccwf.cc.utexas.edu) Subject: Re: redir.exe question References: <8kkv0e$4co$1 AT geraldo DOT cc DOT utexas DOT edu> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk stderr is unbuffered by default, but stdout is line buffered if the output is the screen or *block* buffered if the output is a file (i.e. redirected). The only way to avoid this is to use one of the buffer-setting functions (setbuf, setbuffer, setvbuf) to change the output buffering of stderr and/or stdout.