home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c220 / 4.ddi / INC / UTIME.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-16  |  633 b   |  37 lines

  1. /*
  2.  *   utime.h -- non-ANSI
  3.  *
  4.  *   Definitions needed by the utime function.
  5.  *
  6.  *           Copyright (c) 1990, MetaWare Incorporated
  7.  */
  8.  
  9. #ifndef _UTIME_H
  10. #define _UTIME_H
  11.  
  12. #ifndef _TIME_T_DEFINED
  13. #define _TIME_T_DEFINED
  14. typedef long time_t;
  15. #endif
  16.  
  17. #ifndef _UTIMBUF_DEFINED
  18. #define _UTIMBUF_DEFINED
  19.  
  20. struct _utimbuf {
  21.     time_t actime;
  22.     time_t modtime;
  23.     };
  24. #endif
  25.  
  26. extern int _utime(char * __pathname, struct _utimbuf * __newtime);
  27.  
  28. #if __HIGHC__
  29.  
  30. #define utimbuf _utimbuf
  31.  
  32. extern int utime(char * __pathname, struct utimbuf * __newtime);
  33.  
  34. #endif /* __HIGHC__ */
  35.  
  36. #endif /* _UTIME_H */
  37.