about summary refs log tree commit diff
path: root/src/stat/stat.c
blob: 23570e7a2460aacaabc7d8b22048a012de8fdac3 (plain) (blame)
1
2
3
4
5
6
7
#include <sys/stat.h>
#include <fcntl.h>

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