Could you explain the inotify mechanism to me? I searched the Internet about this, but I realized that if I want to see the changes in the file, I have to do a survey using the "read" function. Is there a callback function that will notify me when a file has changes without polling?
Thank,
source
share