mirror of https://github.com/mkerrisk/man-pages
fanotify.7, inotify.7: wfix: Tweak location of tag comments
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
46b20ca1bb
commit
a8114045ab
|
@ -937,14 +937,10 @@ main(int argc, char *argv[])
|
|||
|
||||
nfds = 2;
|
||||
|
||||
/* Console input */
|
||||
|
||||
fds[0].fd = STDIN_FILENO;
|
||||
fds[0].fd = STDIN_FILENO; /* Console input */
|
||||
fds[0].events = POLLIN;
|
||||
|
||||
/* Fanotify input */
|
||||
|
||||
fds[1].fd = fd;
|
||||
fds[1].fd = fd; /* Fanotify input */
|
||||
fds[1].events = POLLIN;
|
||||
|
||||
/* This is the loop to wait for incoming events. */
|
||||
|
|
|
@ -1053,14 +1053,10 @@ main(int argc, char* argv[])
|
|||
|
||||
nfds = 2;
|
||||
|
||||
/* Console input */
|
||||
|
||||
fds[0].fd = STDIN_FILENO;
|
||||
fds[0].fd = STDIN_FILENO; /* Console input */
|
||||
fds[0].events = POLLIN;
|
||||
|
||||
/* Inotify input */
|
||||
|
||||
fds[1].fd = fd;
|
||||
fds[1].fd = fd; /* Inotify input */
|
||||
fds[1].events = POLLIN;
|
||||
|
||||
/* Wait for events and/or terminal input. */
|
||||
|
|
Loading…
Reference in New Issue