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
sys/mount.h: add MS_NOSYMFOLLOW from linux v5.10
[musl.git]
/
compat
/
time32
/
ppoll_time32.c
blob
43b4b0df6f8e99cf3301e229aa65777878056055
1
#include
"time32.h"
2
#define _GNU_SOURCE
3
#include <time.h>
4
#include <poll.h>
5
6
int
__ppoll_time32
(
struct
pollfd
*
fds
,
nfds_t n
,
const struct
timespec32
*
ts32
,
const
sigset_t
*
mask
)
7
{
8
return
ppoll
(
fds
,
n
, !
ts32
?
0
: (&(
struct
timespec
){
9
.
tv_sec
=
ts32
->
tv_sec
, .
tv_nsec
=
ts32
->
tv_nsec
}),
mask
);
10
}