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