问题 I need to create FSEvents watcher for a Folder in Mac. I'm comfortable with C++ and is there a way to get FSEvents notifications in C++ code, rather than Objective-C. Is there some example code to start with and any libraries i need to include ..? I'm already on this page. http://developer.apple.com/library/mac/#featuredarticles/FileSystemEvents/_index.html But there seems to be only Objective C, can i have CPP version of it 回答1: Yes, it is possible in C. You should look for Kernel Queues.