summaryrefslogblamecommitdiff
path: root/src/stat/stat.c
blob: 528870d2fcb786060aef053ad1b1ddddabf5ee02 (plain) (tree)
1
2
3
4
5
6
7
8
9
                     
                  
 
                                                              
 
                                               

 
                         
#include <sys/stat.h>
#include <fcntl.h>

int stat(const char *restrict path, struct stat *restrict buf)
{
	return fstatat(AT_FDCWD, path, buf, 0);
}

weak_alias(stat, stat64);