home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / C / STORM2.DMS / in.adf / Includes.LHA / time.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-28  |  673 b   |  35 lines

  1. #ifndef _INCLUDE_TIME_H
  2. #define _INCLUDE_TIME_H
  3.  
  4. /*
  5. **  $VER: time.h 10.1 (19.7.95)
  6. **  Includes Release 40.15
  7. **
  8. **  (C) Copyright 1995 Haage & Partner
  9. **     All Rights Reserved
  10. */
  11.  
  12. typedef unsigned time_t;
  13. typedef unsigned clock_t;
  14.  
  15. struct tm
  16. { int tm_sec, tm_min, tm_hour, tm_mday, tm_mon, tm_year,
  17.       tm_wday, tm_yday, tm_idst;
  18. };
  19.  
  20. time_t time(time_t*);
  21. struct tm *gmtime(const time_t*);
  22. struct tm *localtime(const time_t*);
  23. time_t mktime(struct tm*);
  24.  
  25. #define CLOCKS_PER_SEC 50
  26. clock_t clock(void);
  27. double difftime(time_t, time_t);
  28.  
  29. int strftime(char *, unsigned, const char*, const struct tm*);
  30. char *asctime(const struct tm*);
  31. char *ctime(const time_t *);
  32.  
  33. #endif
  34.  
  35.