summaryrefslogtreecommitdiff
path: root/src/stat/fstatat.c
blob: 22bc2934167cdc1f422489c1948cc22588b7c3d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <sys/stat.h>
#include "syscall.h"
#include "libc.h"

int fstatat(int fd, const char *path, struct stat *buf, int flag)
{
	return syscall4(__NR_fstatat64, fd, (long)path, (long)buf, flag);
}

LFS64(fstatat);