home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c495 / watcm951.arj / H_SYS.WPK / UTIME.H < prev   
Encoding:
C/C++ Source or Header  |  1993-02-16  |  643 b   |  35 lines

  1. /*
  2.  *  sys/utime.h utimbuf structure and prototypes
  3.  *
  4.  *  Copyright by WATCOM International Corp. 1988-1993.  All rights reserved.
  5.  */
  6. #ifndef _UTIME_H_INCLUDED
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10.  
  11.  
  12. #pragma pack(1)
  13.  
  14. #ifndef _TIME_T_DEFINED_
  15.  #define _TIME_T_DEFINED_
  16.  typedef unsigned long time_t;     /* time value */
  17. #endif
  18.  
  19. struct utimbuf {
  20.     time_t    actime;     /* access time */
  21.     time_t    modtime;    /* modification time */
  22. };
  23.  
  24. /*
  25.  *  POSIX 1003.1 Prototype
  26.  */
  27.  int    utime( const char *__path, const struct utimbuf * __times );
  28.  
  29. #pragma pack()
  30. #define _UTIME_H_INCLUDED
  31. #ifdef __cplusplus
  32. };
  33. #endif
  34. #endif
  35.