summaryrefslogblamecommitdiff
path: root/src/stat/lstat.c
blob: 8b365ba284fed848420c62cf9ab2c4e194273e02 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
                  
                    
 
                                                               
 
                                                                 

 
                           
#include <sys/stat.h>
#include <fcntl.h>
#include "syscall.h"

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

weak_alias(lstat, lstat64);