blob: 6822fcae4b1edb76d93a49de1361d641ad40d7cc [file] [log] [blame]
#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);
}