aboutsummaryrefslogtreecommitdiff
path: root/src/stat/lstat.c
blob: 38ef5948c08a20287f1cb9924011008afc65d0af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <sys/stat.h>
#include <fcntl.h>

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


#ifdef TEST
int
main(void) {
	return 0;
}
#endif