12 lines
203 B
C
12 lines
203 B
C
#include <sys/stat.h>
|
|
#include <fcntl.h>
|
|
|
|
int stat(const char *restrict path, struct stat *restrict buf)
|
|
{
|
|
return fstatat(AT_FDCWD, path, buf, 0);
|
|
}
|
|
|
|
#if !_REDIR_TIME64
|
|
weak_alias(stat, stat64);
|
|
#endif
|