Files
semi-libc/src/stat/lstat.c
T
Rich Felker 50018f92f7 disable lfs64 aliases for remapped time64 functions
these functions cannot provide the glibc lfs64-ABI-compatible symbols
when time_t differs from what it was in that ABI. instead, the aliases
need to be provided by the time32 compat shims or through some other
mechanism.
2019-10-28 19:26:52 -04:00

12 lines
224 B
C

#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