annotate nt/inc/sys/time.h @ 142:1856695b1fa9 r20-2b5

Import from CVS: tag r20-2b5
author cvs
date Mon, 13 Aug 2007 09:33:18 +0200
parents 7d55a9ba150c
children 2f8bb876ab1d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
118
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
1 /*
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
2 * sys/time.h doesn't exist on NT
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
3 */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
4
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
5 #include <time.h>
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
6
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
7 struct timeval
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
8 {
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
9 long tv_sec; /* seconds */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
10 long tv_usec; /* microseconds */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
11 };
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
12
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
13 struct timezone
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
14 {
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
15 int tz_minuteswest; /* minutes west of Greenwich */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
16 int tz_dsttime; /* type of dst correction */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
17 };
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
18
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
19 #ifndef HAVE_X_WINDOWS
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
20 /* X11R6 on NT provides the single parameter version of this command */
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
21 void gettimeofday (struct timeval *, struct timezone *);
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
22 #endif
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
23
7d55a9ba150c Import from CVS: tag r20-1b11
cvs
parents:
diff changeset
24 /* end of sys/time.h */