Php/docs/function.inotify-rm-watch

来自菜鸟教程
跳转至:导航、​搜索

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


参见