1 /* vi: set sw=4 ts=4: */
3 * inotify interface for uClibc
5 * Copyright (C) 2006 Austin Morgan <admorgan@morgancomputers.net>
6 * Copyright (C) 2006 by Erik Andersen <andersen@codepoet.org>
8 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
11 #include <sys/syscall.h>
12 #include <sys/inotify.h>
14 #ifdef __NR_inotify_init
15 _syscall0(int, inotify_init)
18 #ifdef __NR_inotify_add_watch
19 _syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
22 #ifdef __NR_inotify_rm_watch
23 _syscall2(int, inotify_rm_watch, int, fd, uint32_t, wd)