summaryrefslogtreecommitdiff
path: root/lib/libc/poll/poll.c
blob: 24d91db6e0cd8ebd3c242396d5eff3945e2719fc (plain)
1
2
3
4
5
6
7
8
9
#include "asm/unistd_64.h" // for __NR_poll

#include <poll.h>    // for nfds_t, poll, pollfd
#include <syscall.h> // for __syscall_3, syscall

int poll(struct pollfd fds[], nfds_t nfds, int timeout)
{
	return syscall(poll, fds, nfds, timeout);
}