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

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

#if !_REDIR_TIME64
weak_alias(stat, stat64);
#endif