fanotify.7: Move epoll/poll/select discussion to its own subsection

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-04-25 11:03:04 +02:00
parent 7fc5dd9466
commit 488cdd819c
1 changed files with 7 additions and 7 deletions

View File

@ -102,13 +102,6 @@ system call adds a file, directory, or mount to a notification group
and specifies which events
shall be reported (or ignored), or removes or modifies such an entry.
.SS Events, the event queue, and reading events
When an fanotify event occurs, the fanotify file descriptor indicates as
readable when passed to
.BR epoll (7),
.BR poll (2),
or
.BR select (2).
.PP
All events for an fanotify group are collected in a queue.
Consecutive events for the same filesystem object and originating from the
same process may be merged into a single event, with the exception that two
@ -280,6 +273,13 @@ to the next metadata structure using the length indicated in the
field of the metadata structure and reduces the remaining length of the
buffer
.IR len .
.SS Monitoring an fanotify file descriptor for events
When an fanotify event occurs, the fanotify file descriptor indicates as
readable when passed to
.BR epoll (7),
.BR poll (2),
or
.BR select (2).
.SS Dealing with permission events
For permission events, the application must
.BR write (2)