_fstat.c 220 B

1234567891011
  1. #include <lib.h>
  2. #include <sys/types.h>
  3. #define fstat _fstat
  4. #include <sys/stat.h>
  5. PUBLIC int fstat(fd, buffer)
  6. int fd;
  7. struct stat *buffer;
  8. {
  9. return(_callm1(FS, FSTAT, fd, 0, 0, (char *)buffer, NIL_PTR, NIL_PTR));
  10. }