diff options
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/dirent.h | 5 | ||||
-rw-r--r-- | libc/include/sys/stat.h | 6 |
2 files changed, 10 insertions, 1 deletions
diff --git a/libc/include/dirent.h b/libc/include/dirent.h index 3f6c4b9ae..0f8f1cbe8 100644 --- a/libc/include/dirent.h +++ b/libc/include/dirent.h @@ -28,7 +28,10 @@ extern int __alphasort64 (const struct dirent64 **a, const struct dirent64 **b) extern int __versionsort64 (const struct dirent64 **a, const struct dirent64 **b) __attribute_pure__; -extern DIR *__alloc_dir (int fd, bool close_fd, const struct stat64 *statp) +extern DIR *__alloc_dir (int fd, bool close_fd, int flags, + const struct stat64 *statp) internal_function; +libc_hidden_proto (rewinddir) + #endif diff --git a/libc/include/sys/stat.h b/libc/include/sys/stat.h index 66898b176..cca0500ec 100644 --- a/libc/include/sys/stat.h +++ b/libc/include/sys/stat.h @@ -44,8 +44,14 @@ libc_hidden_proto (__fxstatat64) #define lstat(fname, buf) __lxstat (_STAT_VER, fname, buf) #define __lstat(fname, buf) __lxstat (_STAT_VER, fname, buf) #define lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf) +#define __lstat64(fname, buf) __lxstat64 (_STAT_VER, fname, buf) #define stat64(fname, buf) __xstat64 (_STAT_VER, fname, buf) #define fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf) +#define __fstat64(fd, buf) __fxstat64 (_STAT_VER, fd, buf) #define fstat(fd, buf) __fxstat (_STAT_VER, fd, buf) #define __fstat(fd, buf) __fxstat (_STAT_VER, fd, buf) +#define __fstatat(dfd, fname, buf, flag) \ + __fxstatat (_STAT_VER, dfd, fname, buf, flag) +#define __fstatat64(dfd, fname, buf, flag) \ + __fxstatat64 (_STAT_VER, dfd, fname, buf, flag) #endif |