summaryrefslogtreecommitdiff
path: root/lib/libc/poll/ppoll.c
blob: da23d41219d39bc2e3de5d1ecc9e2b2219c4afda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16



#include <poll.h>    // for nfds_t, pollfd, ppoll
#include <signal.h>  // for sigset_t
#include <syscall.h> // for __syscall_5, syscall
#include <time.h>

struct timespec;

int ppoll(struct pollfd fds[], nfds_t nfds,
	  const struct timespec *restrict timeout,
	  const sigset_t *restrict sigmask)
{
	return syscall(ppoll, fds, nfds, timeout, sigmask, 8);
}