repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
delete a redundant if in dynamic linker ctor execution loop
[musl.git]
/
src
/
linux
/
ppoll.c
blob
9e262477ba93de416a3498f71f6eb2e75a059eec
1
#define _GNU_SOURCE
2
#include <poll.h>
3
#include <signal.h>
4
#include
"syscall.h"
5
6
int
ppoll
(
struct
pollfd
*
fds
,
nfds_t n
,
const struct
timespec
*
to
,
const
sigset_t
*
mask
)
7
{
8
return
syscall_cp
(
SYS_ppoll
,
fds
,
n
,
9
to
? (
struct
timespec
[]){*
to
} :
0
,
mask
,
_NSIG
/
8
);
10
}