You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819202122
  1. #ifndef _TIME_H
  2. #define _TIME_H
  3. typedef unsigned long time_t;
  4. struct tm {
  5. int tm_sec; /* seconds */
  6. int tm_min; /* minutes */
  7. int tm_hour; /* hours */
  8. int tm_mday; /* day of the month */
  9. int tm_mon; /* month */
  10. int tm_year; /* year */
  11. int tm_wday; /* day of the week */
  12. int tm_yday; /* day in the year */
  13. int tm_isdst; /* daylight saving time */
  14. };
  15. extern time_t time ( time_t *t );
  16. extern time_t mktime ( struct tm *tm );
  17. #endif /* _TIME_H */