annotate nt/inc/sys/time.h @ 109983:a44dc3503539

* vol2.texi (Top): Update. * vol1.texi (Top): Update. * tips.texi (Library Headers): Mention Package-Version and Package-Requires. * package.texi: New file. * os.texi (System Interface): Update pointers. * elisp.texi (Top): Link to new nodes. Include package.texi. * anti.texi (Antinews): Update pointers.
author Tom Tromey <tromey@redhat.com>
date Wed, 25 Aug 2010 14:25:32 -0600
parents 695cf19ef79e
children 375f2633d815 ef719132ddfa
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27625
fa66d09c3310 Add include protection.
Andrew Innes <andrewi@gnu.org>
parents: 15139
diff changeset
1 #ifndef SYS_TIME_H_INCLUDED
fa66d09c3310 Add include protection.
Andrew Innes <andrewi@gnu.org>
parents: 15139
diff changeset
2 #define SYS_TIME_H_INCLUDED
fa66d09c3310 Add include protection.
Andrew Innes <andrewi@gnu.org>
parents: 15139
diff changeset
3
15139
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
4 /*
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
5 * sys/time.h doesn't exist on NT
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
6 */
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
7
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 27625
diff changeset
8 struct timeval
15139
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
9 {
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
10 long tv_sec; /* seconds */
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
11 long tv_usec; /* microseconds */
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
12 };
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 27625
diff changeset
13 struct timezone
15139
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
14 {
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
15 int tz_minuteswest; /* minutes west of Greenwich */
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
16 int tz_dsttime; /* type of dst correction */
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
17 };
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
18
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
19 void gettimeofday (struct timeval *, struct timezone *);
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
20
27625
fa66d09c3310 Add include protection.
Andrew Innes <andrewi@gnu.org>
parents: 15139
diff changeset
21 #endif /* SYS_TIME_H_INCLUDED */
fa66d09c3310 Add include protection.
Andrew Innes <andrewi@gnu.org>
parents: 15139
diff changeset
22
15139
4d638e5a9e7d Initial revision
Geoff Voelker <voelker@cs.washington.edu>
parents:
diff changeset
23 /* end of sys/time.h */
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
24
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
25 /* arch-tag: bc525883-0c81-4bea-b83d-3325461f38b5
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
26 (do not change this comment) */