Adds or modifies an inotify watch.
fn inotify_add_watch(fd: i32, path: &CStr, mask: u32) -> i32
The fd of the inotify object.
The path to watch.
The events to watch.
inotify_add_watch(2)