1 --- uClibc-0.9.30.2/libc/sysdeps/linux/common/inotify.c~ 2010-01-13 22:22:31.000000000 +0100
2 +++ uClibc-0.9.30.2/libc/sysdeps/linux/common/inotify.c 2010-01-19 17:20:39.994833811 +0100
4 _syscall0(int, inotify_init)
7 +#ifdef __NR_inotify_init1
8 +_syscall1(int, inotify_init1, int, flags)
11 #ifdef __NR_inotify_add_watch
12 _syscall3(int, inotify_add_watch, int, fd, const char *, path, uint32_t, mask)
14 --- uClibc-0.9.30.2/libc/sysdeps/linux/common/sys/inotify.h~ 2010-01-13 22:22:31.000000000 +0100
15 +++ uClibc-0.9.30.2/libc/sysdeps/linux/common/sys/inotify.h 2010-01-19 17:21:14.199833529 +0100
17 | IN_MOVED_TO | IN_CREATE | IN_DELETE \
18 | IN_DELETE_SELF | IN_MOVE_SELF)
20 +/* Flags for the parameter of inotify_init1. */
21 +#define IN_CLOEXEC 02000000
22 +#define IN_NONBLOCK 04000
27 /* Create and initialize inotify instance. */
28 extern int inotify_init (void) __THROW;
30 +extern int inotify_init1 (int flags) __THROW;
32 /* Add watch of object NAME to inotify instance FD. Notify about
33 events specified by MASK. */
34 extern int inotify_add_watch (int __fd, const char *__name, uint32_t __mask)