summaryrefslogtreecommitdiff
path: root/klibc/include/sys/inotify.h
diff options
context:
space:
mode:
Diffstat (limited to 'klibc/include/sys/inotify.h')
-rw-r--r--klibc/include/sys/inotify.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/klibc/include/sys/inotify.h b/klibc/include/sys/inotify.h
new file mode 100644
index 0000000000..74fc714190
--- /dev/null
+++ b/klibc/include/sys/inotify.h
@@ -0,0 +1,16 @@
+/*
+ * sys/inotify.h
+ */
+
+#ifndef _SYS_INOTIFY_H
+#define _SYS_INOTIFY_H
+
+#include <sys/types.h>
+#include <linux/inotify.h>
+#include <klibc/extern.h>
+
+__extern int inotify_init(void);
+__extern int inotify_add_watch(int, const char *, __u32);
+__extern int inotify_rm_watch(int, __u32);
+
+#endif /* _SYS_INOTIFY_H */