开发者

Portable Directory/File watch library in C / C++

开发者 https://www.devze.com 2023-04-03 23:26 出处:网络
Is there a portable library to watch for filesystem changes without polling? I开发者_C百科 know there is

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

精彩评论

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

关注公众号