blob: 9f95218a4e83e38929542861b4d3349f78ef3a85 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
#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);
}
weak_alias(lstat, lstat64);
|