about summary refs log tree commit diff
path: root/string/strnlen.c
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-07-09 17:46:34 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-09-11 14:41:57 -0300
commitecdcafa571ba68e081e9cfcdda4ea8c1a9dbdf0d (patch)
tree9edb3f7cb896ba9c1eed8aaef819bd094ca2f465 /string/strnlen.c
parent9efac043410b37f1d4737a2a51174cef28954428 (diff)
downloadglibc-ecdcafa571ba68e081e9cfcdda4ea8c1a9dbdf0d.tar.gz
glibc-ecdcafa571ba68e081e9cfcdda4ea8c1a9dbdf0d.tar.xz
glibc-ecdcafa571ba68e081e9cfcdda4ea8c1a9dbdf0d.zip
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>
Diffstat (limited to 'string/strnlen.c')
0 files changed, 0 insertions, 0 deletions