summaryrefslogblamecommitdiff
path: root/src/stat/lstat.c
blob: 6fe004dec28c49e212821e413d2b4b35973bff85 (plain) (tree)
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);
}

#if !_REDIR_TIME64
weak_alias(lstat, lstat64);
#endif