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


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