开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜