syscall.sh / mipso32 / inotify_add_watch

inotify_add_watch

add a watch to an initialized inotify instance

sys_inotify_add_watch(int fd, const char *path, u32 mask)
number4285 (0x10bd)
abio32
entry pointsys_inotify_add_watch
sinceLinux 5.0
man pageinotify_add_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
v04285, the syscall number
a0int fd
a1const char *path
a2u32 mask
v0the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/mipso32/inotify_add_watch