| OLD | NEW |
| 1 #include <sys/stat.h> | 1 #include <sys/stat.h> |
| 2 #include "libc.h" | 2 #include "libc.h" |
| 3 | 3 |
| 4 int __fxstat(int ver, int fd, struct stat* buf) { | 4 int __fxstat(int ver, int fd, struct stat* buf) { |
| 5 return fstat(fd, buf); | 5 return fstat(fd, buf); |
| 6 } | 6 } |
| 7 | 7 |
| 8 int __fxstatat(int ver, int fd, const char* path, struct stat* buf, int flag) { | 8 int __fxstatat(int ver, int fd, const char* path, struct stat* buf, int flag) { |
| 9 return fstatat(fd, path, buf, flag); | 9 return fstatat(fd, path, buf, flag); |
| 10 } | 10 } |
| 11 | 11 |
| 12 int __lxstat(int ver, const char* path, struct stat* buf) { | 12 int __lxstat(int ver, const char* path, struct stat* buf) { |
| 13 return lstat(path, buf); | 13 return lstat(path, buf); |
| 14 } | 14 } |
| 15 | 15 |
| 16 int __xstat(int ver, const char* path, struct stat* buf) { | 16 int __xstat(int ver, const char* path, struct stat* buf) { |
| 17 return stat(path, buf); | 17 return stat(path, buf); |
| 18 } | 18 } |
| 19 | 19 |
| 20 LFS64(__fxstat); | |
| 21 LFS64(__fxstatat); | |
| 22 LFS64(__lxstat); | |
| 23 LFS64(__xstat); | |
| 24 | |
| 25 int __xmknod(int ver, const char* path, mode_t mode, dev_t* dev) { | 20 int __xmknod(int ver, const char* path, mode_t mode, dev_t* dev) { |
| 26 return mknod(path, mode, *dev); | 21 return mknod(path, mode, *dev); |
| 27 } | 22 } |
| 28 | 23 |
| 29 int __xmknodat(int ver, int fd, const char* path, mode_t mode, dev_t* dev) { | 24 int __xmknodat(int ver, int fd, const char* path, mode_t mode, dev_t* dev) { |
| 30 return mknodat(fd, path, mode, *dev); | 25 return mknodat(fd, path, mode, *dev); |
| 31 } | 26 } |
| OLD | NEW |