Go to the documentation of this file.
7 #ifndef _UAPI_LINUX_INOTIFY_H
8 #define _UAPI_LINUX_INOTIFY_H
11 #include <linux/fcntl.h>
12 #include <linux/types.h>
29 #define IN_ACCESS 0x00000001
30 #define IN_MODIFY 0x00000002
31 #define IN_ATTRIB 0x00000004
32 #define IN_CLOSE_WRITE 0x00000008
33 #define IN_CLOSE_NOWRITE 0x00000010
34 #define IN_OPEN 0x00000020
35 #define IN_MOVED_FROM 0x00000040
36 #define IN_MOVED_TO 0x00000080
37 #define IN_CREATE 0x00000100
38 #define IN_DELETE 0x00000200
39 #define IN_DELETE_SELF 0x00000400
40 #define IN_MOVE_SELF 0x00000800
43 #define IN_UNMOUNT 0x00002000
44 #define IN_Q_OVERFLOW 0x00004000
45 #define IN_IGNORED 0x00008000
48 #define IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE)
49 #define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO)
52 #define IN_ONLYDIR 0x01000000
53 #define IN_DONT_FOLLOW 0x02000000
54 #define IN_EXCL_UNLINK 0x04000000
55 #define IN_MASK_ADD 0x20000000
56 #define IN_ISDIR 0x40000000
57 #define IN_ONESHOT 0x80000000
64 #define IN_ALL_EVENTS (IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \
65 IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \
66 IN_MOVED_TO | IN_DELETE | IN_CREATE | IN_DELETE_SELF | \
70 #define IN_CLOEXEC O_CLOEXEC
71 #define IN_NONBLOCK O_NONBLOCK