summaryrefslogtreecommitdiff
path: root/src/stat/stat.c
blob: 9847552afddf29e2f590f8fe43d5a5bb30ac7f43 (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 *path, struct stat *buf)
{
	return syscall2(__NR_stat, (long)path, (long)buf);
}

LFS64(stat);