summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/inotify/inotifytest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/inotify/inotifytest.cpp')
-rw-r--r--config.tests/unix/inotify/inotifytest.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/config.tests/unix/inotify/inotifytest.cpp b/config.tests/unix/inotify/inotifytest.cpp
new file mode 100644
index 0000000..8378a7e
--- /dev/null
+++ b/config.tests/unix/inotify/inotifytest.cpp
@@ -0,0 +1,9 @@
+#include <sys/inotify.h>
+
+int main()
+{
+ inotify_init();
+ inotify_add_watch(0, "foobar", IN_ACCESS);
+ inotify_rm_watch(0, 1);
+ return 0;
+}