inotify_rm_watch
(PECL inotify >= 0.1.2)
inotify_rm_watch — Remove 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。
參見
- inotify_init() - Initialize an inotify instance