summaryrefslogtreecommitdiff
path: root/src/stat/fstatat.c
blob: e39f833bbd37799fa37e7980c383bd3c73b7f306 (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_fstatat, fd, (long)path, (long)buf, flag);
}

LFS64(fstatat);