inotify_init1¶
Initialize a new inotify file descriptor with extra options.
Description¶
inotify_init1 initializes a new INotify file descriptor. The following options can be OR-ed and passed in flags:
- IN_NONBLOCK
- Do not block on read.
- IN_CLOEXEC
- Inotify close on exec flag.
Errors¶
On Error, -1 is returned. fpgeterrno can be used to get more detailed error information.
See also¶
| Name | Description |
|---|---|
| inotify_init | Initialize a new inotify file descriptor. |
| inotify_add_watch | Add a watch to a notify file descriptor. |
| inotify_rm_watch | Remove watch from Inotify file descriptor. |