in reply to Re^2: How do I dump data to file on hard exit?
in thread How do I dump data to file on hard exit?

Thanks, I used the signal handlers. Also the autoflush negated the need to open and close the file each iteration.
  • Comment on Re^3: How do I dump data to file on hard exit?