add LSB ABI __xstat, etc. junk

This commit is contained in:
Rich Felker 2012-05-31 23:32:09 -04:00
commit 9ea20dcbaa
4 changed files with 36 additions and 0 deletions

9
src/stat/__fxstat.c Normal file
View file

@ -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);

9
src/stat/__fxstatat.c Normal file
View file

@ -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);

9
src/stat/__lxstat.c Normal file
View file

@ -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);

9
src/stat/__xstat.c Normal file
View file

@ -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);