projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
stat
/
stat.c
1
#include <sys/stat.h>
2
#include <fcntl.h>
3
4
int stat(const char *restrict path, struct stat *restrict buf)
5
{
6
return fstatat(AT_FDCWD, path, buf, 0);
7
}
8
9
#if !_REDIR_TIME64
10
weak_alias(stat, stat64);
11
#endif