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

int stat(const char *restrict path, struct stat *restrict buf)
{
	return fstatat(AT_FDCWD, path, buf, 0);
}

weak_alias(stat, stat64);