fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / sys / sysmec / stat.c
blob11bbe8e305670e43f96db1a1c8bea1352a7d20c9
1 #include <_ansi.h>
2 #include <sys/types.h>
3 #include <sys/stat.h>
4 #include "sys/syscall.h"
6 int errno;
8 int __trap0 ();
10 #define TRAP0(f, p1, p2, p3) __trap0(f, (p1), (p2), (p3))
12 int
13 _stat (const char *path, struct stat *st)
16 return TRAP0 (SYS_stat, path, st, 0);