8b365ba284fed848420c62cf9ab2c4e194273e02
[musl] / src / stat / lstat.c
1 #include <sys/stat.h>
2 #include <fcntl.h>
3 #include "syscall.h"
4
5 int lstat(const char *restrict path, struct stat *restrict buf)
6 {
7         return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW);
8 }
9
10 weak_alias(lstat, lstat64);