summaryrefslogtreecommitdiff
path: root/src/select/poll.c
blob: f1e73e82f75d076f9c7cd32daed202a4f05908cf (plain) (blame)
1
2
3
4
5
6
7
8
#include <poll.h>
#include "syscall.h"
#include "libc.h"

int poll(struct pollfd *fds, nfds_t n, int timeout)
{
	return syscall_cp(SYS_poll, fds, n, timeout);
}