| Index: fusl/src/linux/ppoll.c
|
| diff --git a/fusl/src/linux/ppoll.c b/fusl/src/linux/ppoll.c
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..9e262477ba93de416a3498f71f6eb2e75a059eec
|
| --- /dev/null
|
| +++ b/fusl/src/linux/ppoll.c
|
| @@ -0,0 +1,10 @@
|
| +#define _GNU_SOURCE
|
| +#include <poll.h>
|
| +#include <signal.h>
|
| +#include "syscall.h"
|
| +
|
| +int ppoll(struct pollfd *fds, nfds_t n, const struct timespec *to, const sigset_t *mask)
|
| +{
|
| + return syscall_cp(SYS_ppoll, fds, n,
|
| + to ? (struct timespec []){*to} : 0, mask, _NSIG/8);
|
| +}
|
|
|