Hello, I want to know when a new file is created on a specific directory, Instead of scanning the directory from time to time, I understand that there is a way to make the O.S tell my program that a new file was created. how does it work?
Thanks
Edit: as suggested below, this is similar to http://stackoverflow.com/questions/61253/how-to-be-notified-of-file-directory-change-in-c-c-ideally-using-posix