cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/16:04:44

Date: Thu, 27 Aug 1998 14:49:14 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Dim Zegebart <zager AT post DOT comstar DOT ru>
cc: "Thomas J. Hruska" <thruska AT tir DOT com>, djgpp AT delorie DOT com
Subject: Re: Display question...
In-Reply-To: <35E4E7EF.CF07B3F4@post.comstar.ru>
Message-ID: <Pine.SUN.3.91.980827144745.6326h-100000@is>
MIME-Version: 1.0

On Thu, 27 Aug 1998, Dim Zegebart wrote:

> Since DJGPP has UNIX ancestor it has some UNIX features too. So, in UNIXall
> streams (stdout is a stream) are buffered and behave exactly as you describe.

The real reason for this buffering is performance: every write needs a 
switch from protected to real mode and back.  So writing every character 
with a separate call to DOS will severely punish programs that print 
large amounts of text to the screen.

- Raw text -


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