blob: 5445d1d784fd717f983f093fed3ddd1dc4d6a1ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <signal.h> // for siginfo_t, sigset_t, sigtimedwait
#include <syscall.h> // for __syscall_4, syscall
#include <time.h>
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);
}
|