Files
semi-libc/src/linux/fanotify.c
T
rofl0r 9e91398b28 fanotify.c: fix typo in header inclusion
the header is included only as a guard to check that the declaration
and definition match, so the typo didn't cause any breakage aside
from omitting this check.
2014-01-03 11:29:57 +01:00

15 lines
372 B
C

#include "syscall.h"
#include <sys/fanotify.h>
int fanotify_init(unsigned flags, unsigned event_f_flags)
{
return syscall(SYS_fanotify_init, flags, event_f_flags);
}
int fanotify_mark(int fanotify_fd, unsigned flags, unsigned long long mask,
int dfd, const char *pathname)
{
return syscall(SYS_fanotify_mark, flags, __SYSCALL_LL_O(mask), dfd, pathname);
}