From c9ba0769a749e4e08fd8a8815b8ced96fba4927b Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Thu, 28 Apr 2022 02:14:34 -0400 Subject: provide an internal namespace-safe __fstatat this makes it so we can drop direct stat syscall use in interfaces that can't use the POSIX namespace. --- src/include/sys/stat.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/include/sys/stat.h (limited to 'src/include') diff --git a/src/include/sys/stat.h b/src/include/sys/stat.h new file mode 100644 index 00000000..822888b2 --- /dev/null +++ b/src/include/sys/stat.h @@ -0,0 +1,8 @@ +#ifndef SYS_STAT_H +#define SYS_STAT_H + +#include "../../../include/sys/stat.h" + +hidden int __fstatat(int, const char *restrict, struct stat *restrict, int); + +#endif -- cgit 1.4.1