Function lrs::syscall::inotify_add_watch

Adds or modifies an inotify watch.

Syntax

fn inotify_add_watch(fd: i32, path: &CStr, mask: u32) -> i32

Arguments

NameDescription
fd

The fd of the inotify object.

path

The path to watch.

mask

The events to watch.

See also