in reply to What if FILE deleted during WHILE read-in loop?

Most unix filesystems will keep the actual data intact as long as there is an open file descriptor. The file descriptor should stay open until you close the file. In other words, it appears you may have dodged a bullet. Just hope the program doesn't crash for any reason! :-)

  • Comment on Re: What if FILE deleted during WHILE read-in loop?