摘要: 参考EventHub.cpp 1、初始化inotify int mINotifyFd = inotify_init(); 2、将要监测的目录添加到inotify int result = inotify_add_watch(mINotifyFd, argv[1], IN_DELETE | IN_CR 阅读全文
posted @ 2019-03-18 11:13 一条水煮鱼 阅读(843) 评论(0) 推荐(0) 编辑