|
|
1.1 root 1: #ifndef _SYS_TIME_H
2: #define _SYS_TIME_H
3:
4: #include <time.h>
5:
6: typedef unsigned long suseconds_t;
7:
8: struct timeval {
9: time_t tv_sec; /* seconds */
10: suseconds_t tv_usec; /* microseconds */
11: };
12:
13: struct timezone {
14: int tz_minuteswest; /* minutes W of Greenwich */
15: int tz_dsttime; /* type of dst correction */
16: };
17:
18: extern int gettimeofday ( struct timeval *tv, struct timezone *tz );
19:
20: #endif /* _SYS_TIME_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.