- PHP 手册
- 函数参考
- 文件系统相关扩展
- Inotify
- Inotify 函数
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
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.inotify-rm-watch.php