summaryrefslogtreecommitdiff
path: root/lib/libc/poll/ppoll.c
blob: 923784da43ef5c5eca45ea4e043228cc50efa24a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "asm/unistd_64.h" // for __NR_ppoll

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

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