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.
This commit is contained in:
Rich Felker committed 2022-05-01 23:25:21 -04:00
1 parent 7edbcbeb76
commit c9ba0769a7
2 files changed
+11 -1

No files matched your search

+8
View File
@@ -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