]> git.ipfire.org Git - thirdparty/glibc.git/commit
io: Check at runtime if timestamp supports nanoseconds
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 29 Mar 2021 17:40:30 +0000 (14:40 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 31 Mar 2021 20:20:14 +0000 (17:20 -0300)
commitbfddda2570331da2ae4387b530456e6c4e230257
tree63bd920593b38f7f65e282eb1e6ab1c9143bedd2
parent18f0afa8485e8cd6434d118cb841d78d897230b6
io: Check at runtime if timestamp supports nanoseconds

Now that non-LFS stat function is implemented on to on LFS, it will
use statx when available.  It allows to check for nanosecond timestamp
if the kernel supports __NR_statx.

Checked on s390-linux-gnu with 4.12.14 kernel.
io/tst-stat.c
support/support.h
support/support_stat_nanoseconds.c