comparison nt/inc/sys/time.h @ 118:7d55a9ba150c r20-1b11

Import from CVS: tag r20-1b11
author cvs
date Mon, 13 Aug 2007 09:24:17 +0200
parents
children 2f8bb876ab1d
comparison
equal deleted inserted replaced
117:578fd4947a72 118:7d55a9ba150c
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 */