From 095a5ae6f2466cdd457cdf3e9925b1fbd302c9be Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Sat, 19 Feb 2011 02:52:29 -0500 Subject: add syscall wrappers for inotify --- src/linux/inotify_init.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/linux/inotify_init.c (limited to 'src/linux/inotify_init.c') diff --git a/src/linux/inotify_init.c b/src/linux/inotify_init.c new file mode 100644 index 00000000..d378460d --- /dev/null +++ b/src/linux/inotify_init.c @@ -0,0 +1,7 @@ +#include +#include "syscall.h" + +int inotify_init() +{ + return syscall0(__NR_inotify_init); +} -- cgit v1.2.1