delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/18/11:45:39

From: Endlisnis <s257m AT unb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Realtime & DJGPP
Date: Tue, 18 Aug 1998 11:21:01 -0300
Organization: NBTel Internet
Lines: 20
Message-ID: <35D98DCD.A4785E2@unb.ca>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980818162454 DOT 12510i-100000 AT is>
NNTP-Posting-Host: fctnts13c42.nbnet.nb.ca
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Eli Zaretskii wrote:

> I think this is an illusion.  Redirecting stdout makes it fully buffered,
> so for small amounts of output, the 16KB buffer holds all the output, and
> the program doesn't really call DOS untill it exits, at which time the
> buffer is flushed.  Even if it does call DOS, it does so many more times
> when the output goes to the screen as opposed to a file.

    Isn't the screen i/o buffered as well? (16k?)  Or is it the fact of
line-buffering that your commenting about?

--
     (\/) Endlisnis (\/)
          s257m AT unb DOT ca
          Endlisnis AT GeoCities DOT com
          Endlis AT nbnet DOT nb DOT ca




- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019