fs_stop_watcher_event()

fs_stop_watcher_event()#

fs_stop_watcher_event() stops the given file system watcher event and destroys the associated fs_event_t instance.

Prototype

int fs_stop_watcher_event(
    fs_event_t *fs_event
);

Parameters

Key

Type

Description

fs_event

fs_event_t *

Pointer to the fs_event_t instance representing the file system watcher event to be stopped and destroyed.


Return Value

Returns 0 on success, or a negative error code on failure.

Notes

Once fs_stop_watcher_event() is called, the fs_event_t instance is destroyed and should not be used again.

Prototype

// Not applicable in JS

Prototype

# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples