powerpc-sf longjmp clobbering of val argument
[musl.git] / src / stat / __xstat.c
blobb4560df7cdd701e35bbd145d5d511b2fc3584db3
1 #include <sys/stat.h>
3 #if !_REDIR_TIME64
5 int __fxstat(int ver, int fd, struct stat *buf)
7 return fstat(fd, buf);
10 int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag)
12 return fstatat(fd, path, buf, flag);
15 int __lxstat(int ver, const char *path, struct stat *buf)
17 return lstat(path, buf);
20 int __xstat(int ver, const char *path, struct stat *buf)
22 return stat(path, buf);
25 #endif
27 int __xmknod(int ver, const char *path, mode_t mode, dev_t *dev)
29 return mknod(path, mode, *dev);
32 int __xmknodat(int ver, int fd, const char *path, mode_t mode, dev_t *dev)
34 return mknodat(fd, path, mode, *dev);