summaryrefslogblamecommitdiff
path: root/src/stat/lstat.c
blob: 6822fcae4b1edb76d93a49de1361d641ad40d7cc (plain) (tree)
1
2
3
4
5
6
7
                     
                  
 
                                                               
 
                                                                 
 
#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);
}