#ifndef _SYS_TIME_H_ #define _SYS_TIME_H_ 1 /* we get to use the _ because we *are* the system header */ #include struct tm { int tm_sec; /* seconds (0-60) */ int tm_min; /* minutes (0-59) */ int tm_hour; /* hours (0-23) */ int tm_mday; /* day of the month (1-31) */ int tm_mon; /* month (0-11) */ int tm_year; /* year - 1900 */ int tm_wday; /* day of the week (0-6, Sunday = 0) */ int tm_yday; /* day in the year (0-365, 1 Jan = 0) */ int tm_isdst; /* daylight saving time */ }; struct timespec { time_t tv_sec; long tv_nsec; }; struct itimerspec { struct timespec it_interval; struct timespec it_value; }; #endif