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

int stat(const char *restrict path, struct stat *restrict buf)
{
	return syscall(SYS_stat, path, buf);
}

LFS64(stat);