www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/08/29/13:54:20

Xref: news2.mv.net comp.os.msdos.djgpp:8022
From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: interrupting with ctrl-C
Date: Thu, 29 Aug 1996 07:38:48 -0700
Organization: Alcyone Systems
Lines: 14
Message-ID: <3225AB78.76FCE03F@alcyone.com>
References: <4un5jr$9li AT due DOT unit DOT no> <4v90df$qst AT status DOT gen DOT nz>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Bruce Foley wrote:

> As well as the suggestion by Eli, also consider closing
> your file after each record has been written and then re-opening it.
> This is because writing to the file is not enough to ensure that it
> has actually been committed to disk.  Closing the file will ensure
> this happens.

Or just use fflush.

-- 
Erik Max Francis, &tSftDotIotE   http://www.alcyone.com/max/   max AT alcyone DOT com
San Jose, California   ICBM 37 20 07 N 121 53 38 W   R^4: the 4th R is respect
"Out from his breast/his soul went to seek/the doom of the just." -- _Beowulf_

- Raw text -


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