summaryrefslogtreecommitdiff
path: root/src/unistd/sleep.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-28 17:05:47 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-28 17:09:57 -0400
commit68c983919ecfa75a8216d93b85baaefcb7b6e51c (patch)
tree0179eebc6fef5bf503a6ddb20b24adf992e7ca82 /src/unistd/sleep.c
parent2ab90de7ac53317a63d999b3e26d44d66684464c (diff)
downloadmusl-68c983919ecfa75a8216d93b85baaefcb7b6e51c.tar.gz
musl-68c983919ecfa75a8216d93b85baaefcb7b6e51c.tar.bz2
musl-68c983919ecfa75a8216d93b85baaefcb7b6e51c.tar.xz
musl-68c983919ecfa75a8216d93b85baaefcb7b6e51c.zip
sigtimedwait: add time64 syscall support, decouple 32-bit time_t
time64 syscall is used only if it's the only one defined for the arch, or if the requested timeout length does not fit in 32 bits. on current 32-bit archs where time_t is a 32-bit type, this makes it statically unreachable. on 64-bit archs, there are only superficial changes to the code after preprocessing. on current 32-bit archs, the timeout is passed via an intermediate copy to remove the assumption that time_t is a 32-bit type.
Diffstat (limited to 'src/unistd/sleep.c')
0 files changed, 0 insertions, 0 deletions