about summary refs log tree commit diff
path: root/src/linux/inotify_add_watch.c
blob: 75f207d793ff2a8bb8ae3eaae3f5b2b600fb5000 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/inotify.h>
#include "syscall.h"

int inotify_add_watch(int fd, const char *pathname, uint32_t mask)
{
	return syscall(SYS_inotify_add_watch, fd, pathname, mask);
}