From 43bb5fafb52c6d3949c9d1d162afc50a17829946 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Fri, 10 Oct 2008 13:30:18 +0200 Subject: [PATCH] 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 --- man7/inotify.7 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/man7/inotify.7 b/man7/inotify.7 index 256aa7d2c..f8c4d93e5 100644 --- a/man7/inotify.7 +++ b/man7/inotify.7 @@ -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),