diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-31 23:32:09 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-31 23:32:09 -0400 |
commit | 9ea20dcbaafe790bb034adadf05698088a2f9fab (patch) | |
tree | 6ae574a4cc13d0db0a9a41eaa968d05d8bbfb4ba /src | |
parent | a541297617e567eadc7448e1af35d7bb20461a8c (diff) | |
download | musl-9ea20dcbaafe790bb034adadf05698088a2f9fab.tar.gz musl-9ea20dcbaafe790bb034adadf05698088a2f9fab.tar.bz2 musl-9ea20dcbaafe790bb034adadf05698088a2f9fab.tar.xz musl-9ea20dcbaafe790bb034adadf05698088a2f9fab.zip |
add LSB ABI __xstat, etc. junk
Diffstat (limited to 'src')
-rw-r--r-- | src/stat/__fxstat.c | 9 | ||||
-rw-r--r-- | src/stat/__fxstatat.c | 9 | ||||
-rw-r--r-- | src/stat/__lxstat.c | 9 | ||||
-rw-r--r-- | src/stat/__xstat.c | 9 |
4 files changed, 36 insertions, 0 deletions
diff --git a/src/stat/__fxstat.c b/src/stat/__fxstat.c new file mode 100644 index 00000000..fd39ee3d --- /dev/null +++ b/src/stat/__fxstat.c @@ -0,0 +1,9 @@ +#include <sys/stat.h> +#include "libc.h" + +int __fxstat(int ver, int fd, struct stat *buf) +{ + return fstat(fd, buf); +} + +LFS64(__fxstat); diff --git a/src/stat/__fxstatat.c b/src/stat/__fxstatat.c new file mode 100644 index 00000000..e389dec7 --- /dev/null +++ b/src/stat/__fxstatat.c @@ -0,0 +1,9 @@ +#include <sys/stat.h> +#include "libc.h" + +int __fxstatat(int ver, int fd, const char *path, struct stat *buf, int flag) +{ + return fstatat(fd, path, buf, flag); +} + +LFS64(__fxstatat); diff --git a/src/stat/__lxstat.c b/src/stat/__lxstat.c new file mode 100644 index 00000000..e9992ed2 --- /dev/null +++ b/src/stat/__lxstat.c @@ -0,0 +1,9 @@ +#include <sys/stat.h> +#include "libc.h" + +int __lxstat(int ver, const char *path, struct stat *buf) +{ + return lstat(path, buf); +} + +LFS64(__lxstat); diff --git a/src/stat/__xstat.c b/src/stat/__xstat.c new file mode 100644 index 00000000..42011d5f --- /dev/null +++ b/src/stat/__xstat.c @@ -0,0 +1,9 @@ +#include <sys/stat.h> +#include "libc.h" + +int __xstat(int ver, const char *path, struct stat *buf) +{ + return stat(path, buf); +} + +LFS64(__xstat); |