projects
/
musl
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fix bug whereby most atexit-registered functions got skipped
[musl]
/
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 *mask, siginfo_t *si, const struct timespec *timeout)
7
{
8
int ret;
9
do ret = syscall_cp(SYS_rt_sigtimedwait, mask,
10
si, timeout, __SYSCALL_SSLEN);
11
while (ret<0 && errno==EINTR);
12
return ret;
13
}