home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c221 / 1.ddi / INC / UTIME.H < prev   
Encoding:
C/C++ Source or Header  |  1993-01-19  |  776 b   |  45 lines

  1. /*
  2.  *   utime.h -- extra-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. #pragma push_align_members(64);
  12.  
  13. #ifdef __CPLUSPLUS__
  14. extern "C" {
  15. #endif
  16.  
  17. #ifndef _TIME_T_DEFINED
  18. #define _TIME_T_DEFINED
  19. typedef long time_t;
  20. #endif
  21.  
  22. #ifndef _UTIMBUF_DEFINED
  23. #define _UTIMBUF_DEFINED
  24.  
  25. struct _utimbuf {
  26.     time_t actime;
  27.     time_t modtime;
  28.     };
  29. #endif
  30.  
  31. extern int _utime(char * __pathname, struct _utimbuf * __newtime);
  32.  
  33. #if __HIGHC__
  34.  
  35. #define utimbuf _utimbuf
  36.  
  37. extern int utime(char * __pathname, struct utimbuf * __newtime);
  38.  
  39. #endif /* __HIGHC__ */
  40. #ifdef __CPLUSPLUS__
  41. }
  42. #endif
  43. #pragma pop_align_members();
  44. #endif /* _UTIME_H */
  45.