Commit | Line | Data |
---|---|---|
28dd1b41 AI |
1 | #ifndef SYS_TIME_H_INCLUDED |
2 | #define SYS_TIME_H_INCLUDED | |
3 | ||
c911543b GV |
4 | /* |
5 | * sys/time.h doesn't exist on NT | |
6 | */ | |
7 | ||
177c0ea7 | 8 | struct timeval |
c911543b GV |
9 | { |
10 | long tv_sec; /* seconds */ | |
11 | long tv_usec; /* microseconds */ | |
12 | }; | |
177c0ea7 | 13 | struct timezone |
c911543b GV |
14 | { |
15 | int tz_minuteswest; /* minutes west of Greenwich */ | |
16 | int tz_dsttime; /* type of dst correction */ | |
17 | }; | |
18 | ||
19 | void gettimeofday (struct timeval *, struct timezone *); | |
20 | ||
28dd1b41 AI |
21 | #endif /* SYS_TIME_H_INCLUDED */ |
22 | ||
c911543b | 23 | /* end of sys/time.h */ |