diff options
author | Rich Felker <dalias@aerifal.cx> | 2022-05-04 10:51:00 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022-05-04 10:51:00 -0400 |
commit | 05a55868ff0f42cfc8701c7977322aa4c8e1aca3 (patch) | |
tree | 6aad7a402fac77f4e8c47ba83a851192b1a0ad58 /src/include/sys/stat.h | |
parent | fb10dc288d74442ea85c26b0ac3810f05377cba9 (diff) | |
download | musl-05a55868ff0f42cfc8701c7977322aa4c8e1aca3.tar.gz musl-05a55868ff0f42cfc8701c7977322aa4c8e1aca3.tar.bz2 musl-05a55868ff0f42cfc8701c7977322aa4c8e1aca3.tar.xz musl-05a55868ff0f42cfc8701c7977322aa4c8e1aca3.zip |
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.
Diffstat (limited to 'src/include/sys/stat.h')
-rw-r--r-- | src/include/sys/stat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/sys/stat.h b/src/include/sys/stat.h index 822888b2..59339bee 100644 --- a/src/include/sys/stat.h +++ b/src/include/sys/stat.h @@ -3,6 +3,7 @@ #include "../../../include/sys/stat.h" +hidden int __fstat(int, struct stat *); hidden int __fstatat(int, const char *restrict, struct stat *restrict, int); #endif |