only use fstatat and others legacy stat syscalls if they exist
commitfb10dc288d74442ea85c26b0ac3810f05377cba9
authorRich Felker <dalias@aerifal.cx>
Thu, 28 Apr 2022 06:24:44 +0000 (28 02:24 -0400)
committerRich Felker <dalias@aerifal.cx>
Mon, 2 May 2022 03:25:21 +0000 (1 23:25 -0400)
treecab23a7bf084df8daf3f30e936ca0c29399c5e51
parent2b754a542492f5878608a1130e00021ae02a0e34
only use fstatat and others legacy stat syscalls if they exist

riscv32 and future architectures only provide statx.
src/stat/fstatat.c