Reputation: 17233
I wanted to know if there was a way for me to get a callback anytime a file was created in a specific directory in my c++ application.
Upvotes: 0
Views: 374
Reputation: 6895
You need to use the inotify API
http://man7.org/linux/man-pages/man7/inotify.7.html
Upvotes: 1