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


#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);
}