inotify_rm_watch

(PECL inotify >= 0.1.2)

inotify_rm_watchRemove an existing watch from an inotify instance

说明

inotify_rm_watch ( resource $inotify_instance , int $watch_descriptor ) : bool

inotify_rm_watch() removes the watch watch_descriptor from the inotify instance inotify_instance.

参数

inotify_instance

inotify_init()返回的资源

watch_descriptor

Watch to remove from the instance

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE

参见

关注编程学问公众号