Last change
on this file since dd1be7c was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
403 bytes
|
Line | |
---|
1 | #ifndef _SYS_TIME_H |
---|
2 | #define _SYS_TIME_H |
---|
3 | |
---|
4 | #include <time.h> |
---|
5 | |
---|
6 | typedef unsigned long suseconds_t; |
---|
7 | |
---|
8 | struct timeval { |
---|
9 | time_t tv_sec; /* seconds */ |
---|
10 | suseconds_t tv_usec; /* microseconds */ |
---|
11 | }; |
---|
12 | |
---|
13 | struct timezone { |
---|
14 | int tz_minuteswest; /* minutes W of Greenwich */ |
---|
15 | int tz_dsttime; /* type of dst correction */ |
---|
16 | }; |
---|
17 | |
---|
18 | extern int gettimeofday ( struct timeval *tv, struct timezone *tz ); |
---|
19 | |
---|
20 | #endif /* _SYS_TIME_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.