Mail Archives: djgpp/1996/09/03/19:43:22
Eli Zaretskii (eliz AT is DOT elta DOT co DOT il) wrote:
:
: 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.
If you are using SMARTDRV, its buffers need to be flushed too. Off the
top of my head, I would spawn a call to run "smartdrv /c"
--
============================================
Without my guitar, I am a poet without arms.
- Michael Bloomfield
============================================
- Raw text -