1 2 #ifndef __SYS_TIME_H__ 3 #define __SYS_TIME_H__ 4 5 #include <sys/types.h> 6 7 struct timeval 8 { 9 time_t tv_sec; 10 suseconds_t tv_usec; 11 }; 12 13 struct timezone { 14 int tz_minuteswest; 15 int tz_dsttime; 16 }; 17 18 int gettimeofday(struct timeval *tv, struct timezone *tz); 19 20 // XXX: Not implemented 21 int settimeofday(const struct timeval *tv, const struct timezone *tz); 22 23 #endif /* __SYS_TIME_H__ */ 24 25