Chromium Code Reviews| Index: fusl/src/stat/fstatat.c |
| diff --git a/fusl/src/stat/fstatat.c b/fusl/src/stat/fstatat.c |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..863d5268e880d0c53361af6773859ef4994e8e8e |
| --- /dev/null |
| +++ b/fusl/src/stat/fstatat.c |
| @@ -0,0 +1,10 @@ |
| +#include <sys/stat.h> |
| +#include "syscall.h" |
| +#include "libc.h" |
| + |
| +int fstatat(int fd, const char *restrict path, struct stat *restrict buf, int flag) |
| +{ |
| + return syscall(SYS_fstatat, fd, path, buf, flag); |
| +} |
| + |
| +LFS64(fstatat); |