27625
|
1 #ifndef SYS_TIME_H_INCLUDED
|
|
2 #define SYS_TIME_H_INCLUDED
|
|
3
|
15139
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
4 /*
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
5 * sys/time.h doesn't exist on NT
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
6 */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
7
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
8 struct timeval
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
9 {
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
10 long tv_sec; /* seconds */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
11 long tv_usec; /* microseconds */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
12 };
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
13 struct timezone
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
14 {
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
15 int tz_minuteswest; /* minutes west of Greenwich */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
16 int tz_dsttime; /* type of dst correction */
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
17 };
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
18
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
19 void gettimeofday (struct timeval *, struct timezone *);
|
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
20
|
27625
|
21 #endif /* SYS_TIME_H_INCLUDED */
|
|
22
|
15139
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff
changeset
|
23 /* end of sys/time.h */
|