_stat.c 223 B

1234567891011
  1. #include <lib.h>
  2. #define stat _stat
  3. #include <sys/stat.h>
  4. PUBLIC int stat(name, buffer)
  5. _CONST char *name;
  6. struct stat *buffer;
  7. {
  8. return(_callm1(FS, STAT, _len(name), 0, 0,
  9. (char *)name, (char *)buffer, NIL_PTR));
  10. }