summaryrefslogtreecommitdiff
path: root/nt/inc/sys/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'nt/inc/sys/time.h')
-rw-r--r--nt/inc/sys/time.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h
index c90d1fd62f5..583b966b760 100644
--- a/nt/inc/sys/time.h
+++ b/nt/inc/sys/time.h
@@ -6,15 +6,22 @@
*/
struct timeval
- {
- long tv_sec; /* seconds */
- long tv_usec; /* microseconds */
- };
+{
+ long tv_sec; /* seconds */
+ long tv_usec; /* microseconds */
+};
+
struct timezone
- {
- int tz_minuteswest; /* minutes west of Greenwich */
- int tz_dsttime; /* type of dst correction */
- };
+{
+ int tz_minuteswest; /* minutes west of Greenwich */
+ int tz_dsttime; /* type of dst correction */
+};
+
+struct timespec
+{
+ time_t tv_sec; /* seconds */
+ long int tv_nsec; /* nanoseconds */
+};
void gettimeofday (struct timeval *, struct timezone *);