summaryrefslogtreecommitdiff
path: root/src/time
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-28 18:15:22 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-28 18:15:22 -0400
commit22276671d031639f1bd55d7dbf817290c321c7bf (patch)
tree31e824b8a7d6a37fe95ae0bcab406778d20edcfa /src/time
parent1492bdf53c70f436b0fc2a7238011f9786bf4cd5 (diff)
downloadmusl-22276671d031639f1bd55d7dbf817290c321c7bf.tar.gz
pselect, ppoll: 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. both before and after these changes, these functions copied their timeout arguments to avoid letting the kernel clobber the caller's copies. now, the copying also serves to change the type from userspace timespec to a pair of longs, which makes a difference only in the 32-bit fallback case, not on 64-bit.
Diffstat (limited to 'src/time')
0 files changed, 0 insertions, 0 deletions