home *** CD-ROM | disk | FTP | other *** search
/ Vectronix 2 / VECTRONIX2.iso / FILES_07 / LATTIC_3.ZIP / HEADERS / SYS / TYPES.H < prev   
C/C++ Source or Header  |  1990-03-21  |  617b  |  36 lines

  1. /*
  2.  * types.h - UNIX types header file
  3.  *
  4.  * Started 22/11/89 Alex G. Kiernan
  5.  *
  6.  * Copyright (c) 1989 HiSoft
  7.  */
  8.  
  9. #ifndef _TYPES_H
  10. #define _TYPES_H
  11.  
  12. typedef unsigned short ino_t;
  13. typedef short dev_t;
  14. typedef long off_t;
  15. typedef unsigned char unchar;
  16. typedef unsigned short ushort;
  17. typedef unsigned int uint;
  18. typedef unsigned long ulong;
  19.  
  20. #ifndef _TIME_T
  21. #define _TIME_T
  22. typedef long time_t;
  23. #endif
  24.  
  25. struct utimbuf
  26. {
  27.     time_t actime;    /* access time - ignored */
  28.     time_t modtime;    /* new last mod time */
  29. };
  30.  
  31. #ifndef _SIZE_T
  32. #define _SIZE_T
  33. typedef unsigned long size_t;
  34. #endif
  35. #endif
  36.