provide an internal namespace-safe __fstat
authorRich Felker <dalias@aerifal.cx>
Wed, 4 May 2022 14:51:00 +0000 (10:51 -0400)
committerRich Felker <dalias@aerifal.cx>
Wed, 4 May 2022 14:51:00 +0000 (10:51 -0400)
commit05a55868ff0f42cfc8701c7977322aa4c8e1aca3
tree6aad7a402fac77f4e8c47ba83a851192b1a0ad58
parentfb10dc288d74442ea85c26b0ac3810f05377cba9
provide an internal namespace-safe __fstat

this avoids the need for implementation-internal callers to depend on
the nonstandard AT_EMPTY_PATH extension to use __fstatat and isolates
knowledge of that extension to the implementation of __fstat.
src/include/sys/stat.h
src/stat/fstat.c