www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/09/01/02:10:17

Date: Sun, 1 Sep 1996 09:04:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Erik Max Francis <max AT alcyone DOT com>
Cc: djgpp AT delorie DOT com
Subject: Re: interrupting with ctrl-C
In-Reply-To: <3225AB78.76FCE03F@alcyone.com>
Message-Id: <Pine.SUN.3.91.960901090156.21204C-100000@is>
Mime-Version: 1.0

On Thu, 29 Aug 1996, Erik Max Francis wrote:

> Or just use fflush.

`fflush' is not enough when redirection is used, or when you invoke a 
child program that reads from a file written by the parent.  You should 
either close the file or call `fsync' to ensure DOS flushes its buffers.  
`fflush' only flushes the DJGPP buffers, but not the DOS ones.

- Raw text -


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