vx32

Local 9vx git repository for patches.
git clone git://r-36.net/vx32
Log | Files | Refs

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 }