1 #include <machine/syscall.h>
2 #include "kernel_stat.h"
3 #include "internal_syscall.h"
5 /* Status of a file (by name). */
8 _stat(const char *file
, struct stat
*st
)
10 struct kernel_stat kst
;
11 int rv
= syscall_errno (SYS_stat
, 2, file
, &kst
, 0, 0, 0, 0);
12 _conv_stat (st
, &kst
);