Portable Directory/File watch library in C / C++
Is there a portable library to watch for filesystem changes without polling?
I开发者_C百科 know there is
- inotify for Linux
- solution for osx
- FindFirstChangeNotificationfor Windows
- NIO.2 for Java
- System.IO.FileSystemWatcher for .NET
but i have not found any portable wrapper for those.
Is there a portable wrapper for Linux, Windows and OS X or a subset of those?
QFileSystemWatcher -- Qt is very cross-platform.
Have a look at jnotify. It's written in java and can run on all the major OSes.
精彩评论