summaryrefslogblamecommitdiff
path: root/src/linux/ppoll.c
blob: 8f4aab9b272a8c3740ebd32bdb233553cb55aa18 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                                                                        
#define _GNU_SOURCE
#include <poll.h>
#include "syscall.h"

int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
{
	struct timespec tmp = *to;
	return syscall_cp(SYS_ppoll, fds, n, &tmp, mask);
}