projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
implement hcreate_r, hdestroy_r and hsearch_r
[oweals/musl.git]
/
src
/
signal
/
sigtimedwait.c
1
#include <signal.h>
2
#include <errno.h>
3
#include "syscall.h"
4
#include "libc.h"
5
6
int sigtimedwait(const sigset_t *restrict mask, siginfo_t *restrict si, const struct timespec *restrict timeout)
7
{
8
int ret;
9
do ret = syscall_cp(SYS_rt_sigtimedwait, mask,
10
si, timeout, _NSIG/8);
11
while (ret<0 && errno==EINTR);
12
return ret;
13
}