home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / TELECOM / GNU_ATP_1_40.lzh / SRC / stat.h < prev    next >
Text File  |  1993-09-12  |  506b  |  35 lines

  1. /* stat.h by Robert A. Larson */
  2.  
  3. #ifndef __STAT_H
  4. #define __STAT_H
  5.  
  6. #ifndef __TYPES_H
  7. #include <types.h>
  8. #endif
  9.  
  10. #ifndef S_IFMT
  11. #include <modes.h>
  12. #endif
  13. #undef    S_IFMT
  14. #define S_IFMT 0x80
  15. #define S_IFREG 0
  16. #define S_IFCHR 0
  17.  
  18. /* "bogus" entries are meaningless for os9/68k */
  19.  
  20. struct stat {
  21.     dev_t    st_dev;
  22.     ino_t    st_ino;
  23.     u_short    st_mode;
  24.     short    st_nlink;
  25.     long    st_uid;
  26.     short    st_gid;
  27.     dev_t    st_rdev;
  28.     off_t    st_size;
  29.     time_t    st_atime;    /* bogus */
  30.     time_t    st_mtime;
  31.     time_t    st_ctime;    /* bogus */
  32. };
  33.  
  34. #endif
  35.