beren.olvar
December 19th, 2008, 07:10 PM
I made a program in C that has been running for like a day or so.
It is about 30% complete and I would like to use the data it has calculated so far, but I forgot to use fflush to make it actually write the data to the files, so I only have a partially written file with my output, and a lot more on its buffer.
Is there a way I can force it to write the data? some "kill" signal or something?
Ideally I wouldn't like to kill the process, so I don't feel like I just wasted a day.
TY!
It is about 30% complete and I would like to use the data it has calculated so far, but I forgot to use fflush to make it actually write the data to the files, so I only have a partially written file with my output, and a lot more on its buffer.
Is there a way I can force it to write the data? some "kill" signal or something?
Ideally I wouldn't like to kill the process, so I don't feel like I just wasted a day.
TY!