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

int epoll_ctl(int fd, int op, int fd2, struct epoll_event *ev)
{
	return syscall4(__NR_epoll_ctl, fd, op, fd2, (long)ev);
}