Mail Archives: djgpp/1996/08/13/09:30:11
Xref: | news2.mv.net comp.os.msdos.djgpp:7181
|
From: | jacobsen AT kjemi DOT unit DOT no (Elling Jacobsen)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | interrupting with ctrl-C
|
Date: | 12 Aug 1996 11:47:07 GMT
|
Organization: | The Norwegian University of Science and Technology
|
Lines: | 14
|
Message-ID: | <4un5jr$9li@due.unit.no>
|
NNTP-Posting-Host: | tallinn.kjemi.unit.no
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I have a program in which I write data records to a
number of files. My problem is that when I interrupt
the program using ctrl-C, the files are left empty. I guess
the reason is that the data are kept in memory and are
not dumped to file at interrupt? Is there any way to
ensure that all data records are written to file at
interrupt?
Elling W. Jacobsen
S3-Automatic Control
Royal Institute of Technology - KTH
Sweden
E-mail:jacobsen AT s3 DOT kth DOT se
- Raw text -