summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-07-28 18:43:51 -0400
committerRich Felker <dalias@aerifal.cx>2019-07-29 00:17:02 -0400
commit7aeecf3e0b5462a05f7173993618eb59ba1a86d5 (patch)
treef9d01bd3bfac2940c4c45fb6bdbcfc2ad19902f4 /arch
parente1501091c404a74f3966441dbf8f6b85bae905c2 (diff)
downloadmusl-7aeecf3e0b5462a05f7173993618eb59ba1a86d5.tar.gz
musl-7aeecf3e0b5462a05f7173993618eb59ba1a86d5.tar.bz2
musl-7aeecf3e0b5462a05f7173993618eb59ba1a86d5.tar.xz
musl-7aeecf3e0b5462a05f7173993618eb59ba1a86d5.zip
clock_settime: 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 time does not fit in 32 bits. on current 32-bit archs where time_t is a 32-bit type, this makes it statically unreachable. if the time64 syscall is needed because the requested time does not fit in 32 bits, we define this as an error ENOTSUP, for "The implementation does not support the requested feature or value". on 64-bit archs, there is no change to the code after preprocessing. on current 32-bit archs, the time is moved through an intermediate copy to remove the assumption that time_t is a 32-bit type.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions