blob: 36dd661735090ea211032f50892a607f03378c0c (
plain)
1
2
3
4
5
6
7
8
9
10
|
#include <fcntl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/syscall.h>
int fstat(int fd, struct stat *buf)
{
return fstatat(fd, "", buf, AT_EMPTY_PATH);
}
|