time.h 802 B

123456789101112131415161718192021222324252627
  1. /* $Id$ */
  2. /*
  3. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  4. * See the copyright notice in the ACK home directory, in the file "Copyright".
  5. */
  6. #ifndef _TIME_H
  7. #define _TIME_H
  8. struct tm {
  9. int tm_sec; /* seconds after the minute [0, 59] */
  10. int tm_min; /* minutes after the hour [0, 59] */
  11. int tm_hour; /* hours since midnight [0, 23] */
  12. int tm_mday; /* day of the month [1, 31] */
  13. int tm_mon; /* months since January [0, 11] */
  14. int tm_year; /* years since 1900 */
  15. int tm_wday; /* days since Sunday [0, 6] */
  16. int tm_yday; /* days since January 1 [0, 365] */
  17. int tm_isdst; /* Daylight Saving Time flag */
  18. };
  19. extern struct tm *gmtime();
  20. extern struct tm *localtime();
  21. extern char *asctime();
  22. extern char *ctime();
  23. #endif /* _TIME_H */