summaryrefslogtreecommitdiffstats
path: root/usr/klibc/ppoll.c
blob: 5e20a89bc54bdfe51a3f7cd9aa861d39bfd6d0b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * ppoll.c
 */

#include <sys/poll.h>
#include <sys/syscall.h>

#ifdef __NR_ppoll

__extern int __ppoll(struct pollfd *, nfds_t, struct timespec *,
		     const sigset_t *, size_t);

int ppoll(struct pollfd *ufds, nfds_t nfds, struct timespec *timeout,
	  const sigset_t * sigmask)
{
	return __ppoll(ufds, nfds, timeout, sigmask, sizeof *sigmask);
}

#endif