stat.c (257B)
1 #include <sys/stat.h> 2 #include "syscall.h" 3 4 int stat(const char *path, struct stat *st) 5 { 6 return syscall(VXSYSSTAT, (int)path, (int)st, 0, 0, 0); 7 } 8 9 int lstat(const char *path, struct stat *st) 10 { 11 return syscall(VXSYSLSTAT, (int)path, (int)st, 0, 0, 0); 12 }