summaryrefslogtreecommitdiff
path: root/src/stat/__xstat.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-05-31 23:32:09 -0400
committerRich Felker <dalias@aerifal.cx>2012-05-31 23:32:09 -0400
commit9ea20dcbaafe790bb034adadf05698088a2f9fab (patch)
tree6ae574a4cc13d0db0a9a41eaa968d05d8bbfb4ba /src/stat/__xstat.c
parenta541297617e567eadc7448e1af35d7bb20461a8c (diff)
downloadmusl-9ea20dcbaafe790bb034adadf05698088a2f9fab.tar.gz
add LSB ABI __xstat, etc. junk
Diffstat (limited to 'src/stat/__xstat.c')
-rw-r--r--src/stat/__xstat.c9
1 files changed, 9 insertions, 0 deletions
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);