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?
Asked
Active
Viewed 33 times
0
-
2Possible 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