#include <stdint.h>#include <sys/syscall.h>#include <unistd.h>Go to the source code of this file.
Data Structures | |
| struct | inotify_event |
Defines | |
| #define | IN_ACCESS 0x00000001 |
| #define | IN_MODIFY 0x00000002 |
| #define | IN_ATTRIB 0x00000004 |
| #define | IN_CLOSE_WRITE 0x00000008 |
| #define | IN_CLOSE_NOWRITE 0x00000010 |
| #define | IN_OPEN 0x00000020 |
| #define | IN_MOVED_FROM 0x00000040 |
| #define | IN_MOVED_TO 0x00000080 |
| #define | IN_CREATE 0x00000100 |
| #define | IN_DELETE 0x00000200 |
| #define | IN_DELETE_SELF 0x00000400 |
| #define | IN_MOVE_SELF 0x00000800 |
| #define | IN_UNMOUNT 0x00002000 |
| #define | IN_Q_OVERFLOW 0x00004000 |
| #define | IN_IGNORED 0x00008000 |
| #define | IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE) |
| #define | IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) |
| #define | IN_ONLYDIR 0x01000000 |
| #define | IN_DONT_FOLLOW 0x02000000 |
| #define | IN_MASK_ADD 0x20000000 |
| #define | IN_ISDIR 0x40000000 |
| #define | IN_ONESHOT 0x80000000 |
| #define | IN_ALL_EVENTS |
Functions | |
| static int | inotify_init (void) |
| static int | inotify_add_watch (int fd, const char *name, uint32_t mask) |
| static int | inotify_rm_watch (int fd, uint32_t wd) |
| #define IN_ACCESS 0x00000001 |
Definition at line 31 of file inotify-nosys.h.
| #define IN_ALL_EVENTS |
(IN_ACCESS | IN_MODIFY | IN_ATTRIB | IN_CLOSE_WRITE | \ IN_CLOSE_NOWRITE | IN_OPEN | IN_MOVED_FROM | \ IN_MOVED_TO | IN_DELETE | IN_CREATE | IN_DELETE_SELF | \ IN_MOVE_SELF)
Definition at line 65 of file inotify-nosys.h.
| #define IN_ATTRIB 0x00000004 |
Definition at line 33 of file inotify-nosys.h.
| #define IN_CLOSE (IN_CLOSE_WRITE | IN_CLOSE_NOWRITE) |
Definition at line 50 of file inotify-nosys.h.
| #define IN_CLOSE_NOWRITE 0x00000010 |
Definition at line 35 of file inotify-nosys.h.
| #define IN_CLOSE_WRITE 0x00000008 |
Definition at line 34 of file inotify-nosys.h.
| #define IN_CREATE 0x00000100 |
Definition at line 39 of file inotify-nosys.h.
| #define IN_DELETE 0x00000200 |
Definition at line 40 of file inotify-nosys.h.
| #define IN_DELETE_SELF 0x00000400 |
Definition at line 41 of file inotify-nosys.h.
| #define IN_DONT_FOLLOW 0x02000000 |
Definition at line 55 of file inotify-nosys.h.
| #define IN_IGNORED 0x00008000 |
Definition at line 47 of file inotify-nosys.h.
| #define IN_ISDIR 0x40000000 |
Definition at line 57 of file inotify-nosys.h.
| #define IN_MASK_ADD 0x20000000 |
Definition at line 56 of file inotify-nosys.h.
| #define IN_MODIFY 0x00000002 |
Definition at line 32 of file inotify-nosys.h.
| #define IN_MOVE (IN_MOVED_FROM | IN_MOVED_TO) |
Definition at line 51 of file inotify-nosys.h.
| #define IN_MOVE_SELF 0x00000800 |
Definition at line 42 of file inotify-nosys.h.
| #define IN_MOVED_FROM 0x00000040 |
Definition at line 37 of file inotify-nosys.h.
| #define IN_MOVED_TO 0x00000080 |
Definition at line 38 of file inotify-nosys.h.
| #define IN_ONESHOT 0x80000000 |
Definition at line 58 of file inotify-nosys.h.
| #define IN_ONLYDIR 0x01000000 |
Definition at line 54 of file inotify-nosys.h.
| #define IN_OPEN 0x00000020 |
Definition at line 36 of file inotify-nosys.h.
| #define IN_Q_OVERFLOW 0x00004000 |
Definition at line 46 of file inotify-nosys.h.
| #define IN_UNMOUNT 0x00002000 |
Definition at line 45 of file inotify-nosys.h.
| static int inotify_add_watch | ( | int | fd, | |
| const char * | name, | |||
| uint32_t | mask | |||
| ) | [inline, static] |
Definition at line 156 of file inotify-nosys.h.
| static int inotify_init | ( | void | ) | [inline, static] |
Definition at line 151 of file inotify-nosys.h.
| static int inotify_rm_watch | ( | int | fd, | |
| uint32_t | wd | |||
| ) | [inline, static] |
Definition at line 161 of file inotify-nosys.h.
1.6.1