在Windows操作系统中,MS提供了ReadDirectoryChangesW和FindFirstChangeNotification API来检测新的或修改的文件,Mac OSX是否也提供相同的功能?
在 Mac OS X Leopard 中监控文件变化与文件系统事件 API