inotify.7: Mention inotify_init1() in overview of API

Discuss the new inotify_init1() system call in the overview of
the inotify API.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2008-10-10 13:30:18 +02:00
parent 0a8461f6d3
commit 43bb5fafb5
1 changed files with 10 additions and 2 deletions

View File

@ -23,7 +23,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
.TH INOTIFY 7 2008-08-27 "Linux" "Linux Programmer's Manual"
.TH INOTIFY 7 2008-10-10 "Linux" "Linux Programmer's Manual"
.SH NAME
inotify \- monitoring file system events
.SH DESCRIPTION
@ -36,7 +36,9 @@ When a directory is monitored, inotify will return events
for the directory itself, and for files inside the directory.
The following system calls are used with this API:
.BR inotify_init (2),
.BR inotify_init (2)
(or
.BR inotify_init1 (2)),
.BR inotify_add_watch (2),
.BR inotify_rm_watch (2),
.BR read (2),
@ -46,6 +48,11 @@ and
.BR inotify_init (2)
creates an inotify instance and returns a file descriptor
referring to the inotify instance.
The more recent
.BR inotify_init1 (2)
is like
.BR inotify_init (2),
but provides some extra functionality.
.BR inotify_add_watch (2)
manipulates the "watch list" associated with an inotify instance.
@ -387,6 +394,7 @@ unread event.
.SH "SEE ALSO"
.BR inotify_add_watch (2),
.BR inotify_init (2),
.BR inotify_init1 (2),
.BR inotify_rm_watch (2),
.BR read (2),
.BR stat (2),