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