Mail Archives: djgpp/1998/08/27/16:04:44
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 -