php8.5
Home/ Manual/ inotify / functions/ inotify_rm_watch

inotify_rm_watch

PHP function Edit on GitHub ✎

(PECL inotify >= 0.1.2)

Remove an existing watch from an inotify instance

Description

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

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

Parameters

inotify_instance

Description

watch_descriptor

Watch to remove from the instance

Return Values

Success

See Also

Source: reference/inotify/functions/inotify-rm-watch.xml · from the official PHP manual (php/doc-en)