]> sourceware.org Git - glibc.git/commit
linux: Simplify clock_getres
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 9 Jul 2020 20:46:34 +0000 (17:46 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 11 Sep 2020 17:41:57 +0000 (14:41 -0300)
commitecdcafa571ba68e081e9cfcdda4ea8c1a9dbdf0d
tree9edb3f7cb896ba9c1eed8aaef819bd094ca2f465
parent9efac043410b37f1d4737a2a51174cef28954428
linux: Simplify clock_getres

With arch-syscall.h it can now assumes the existance of either
__NR_clock_getres or __NR_clock_getres_time64.  The 32-bit time_t
support is now only build for !__ASSUME_TIME64_SYSCALLS.

It also uses the time64-support functions to simplify it further.

Checked on x86_64-linux-gnu and i686-linux-gnu (on 5.4 and on 4.15
kernel).

Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
sysdeps/unix/sysv/linux/clock_getres.c
This page took 0.037603 seconds and 5 git commands to generate.