blob: dc85e5d18dace19d91d4ccbb1a9ae9e55c186883 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#include "asm/unistd_64.h" // for __NR_rt_sigtimedwait
#include <signal.h> // for siginfo_t, sigset_t, sigtimedwait
#include <syscall.h> // for __syscall_4, syscall
struct timespec;
#define _NSIG 64
int sigtimedwait(const sigset_t *restrict set, siginfo_t *restrict info,
const struct timespec *restrict timeout)
{
return syscall(rt_sigtimedwait, set, info, timeout, _NSIG / 8);
}
|