github.com/afumu/libc@v0.0.6/musl/src/stat/lstat.c (about)

     1  #include <sys/stat.h>
     2  #include <fcntl.h>
     3  
     4  int lstat(const char *restrict path, struct stat *restrict buf)
     5  {
     6  	return fstatat(AT_FDCWD, path, buf, AT_SYMLINK_NOFOLLOW);
     7  }
     8  
     9  #if !_REDIR_TIME64
    10  weak_alias(lstat, lstat64);
    11  #endif