summaryrefslogtreecommitdiff
path: root/src/linux/epoll_wait.c
blob: 8a68ebdd0a75caea92fa5140434a32ad9fcaa5a9 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/epoll.h>
#include "syscall.h"

int epoll_wait(int fd, struct epoll_event *ev, int cnt, int to)
{
	return syscall4(__NR_epoll_wait, fd, (long)ev, cnt, to);
}