0

How to detect a file is closed? I tried FSEvent, but noting happened. I used FSEventStreamCreate to create the event. How can I know if the file was closed?

Donald Duck
  • 8,409
  • 22
  • 75
  • 99
gaosiyang
  • 11
  • 2
  • 2
    Possible duplicate of [How to detect if a file was closed?](http://stackoverflow.com/questions/19181005/how-to-detect-if-a-file-was-closed) – Harsha W Feb 17 '17 at 06:45
  • Thanks a lot ! It almost solved my problem. But when I open a txt file, It always notice me the file is closed. How to fix it? – gaosiyang Feb 17 '17 at 08:35

0 Answers0