comparison nt/inc/sys/time.h @ 412:697ef44129c6 r21-2-14

Import from CVS: tag r21-2-14
author cvs
date Mon, 13 Aug 2007 11:20:41 +0200
parents 7d55a9ba150c
children 2f8bb876ab1d
comparison
equal deleted inserted replaced
411:12e008d41344 412:697ef44129c6
1 /*
2 * sys/time.h doesn't exist on NT
3 */
4
5 #include <time.h>
6
7 struct timeval
8 {
9 long tv_sec; /* seconds */
10 long tv_usec; /* microseconds */
11 };
12
13 struct timezone
14 {
15 int tz_minuteswest; /* minutes west of Greenwich */
16 int tz_dsttime; /* type of dst correction */
17 };
18
19 #ifndef HAVE_X_WINDOWS
20 /* X11R6 on NT provides the single parameter version of this command */
21 void gettimeofday (struct timeval *, struct timezone *);
22 #endif
23
24 /* end of sys/time.h */