Last change
on this file was
e16e8f2,
checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago
|
bootstuff
|
-
Property mode set to
100644
|
File size:
458 bytes
|
Rev | Line | |
---|
[e16e8f2] | 1 | #ifndef _TIME_H |
---|
| 2 | #define _TIME_H |
---|
| 3 | |
---|
| 4 | typedef unsigned long time_t; |
---|
| 5 | |
---|
| 6 | struct tm { |
---|
| 7 | int tm_sec; /* seconds */ |
---|
| 8 | int tm_min; /* minutes */ |
---|
| 9 | int tm_hour; /* hours */ |
---|
| 10 | int tm_mday; /* day of the month */ |
---|
| 11 | int tm_mon; /* month */ |
---|
| 12 | int tm_year; /* year */ |
---|
| 13 | int tm_wday; /* day of the week */ |
---|
| 14 | int tm_yday; /* day in the year */ |
---|
| 15 | int tm_isdst; /* daylight saving time */ |
---|
| 16 | }; |
---|
| 17 | |
---|
| 18 | extern time_t time ( time_t *t ); |
---|
| 19 | |
---|
| 20 | extern time_t mktime ( struct tm *tm ); |
---|
| 21 | |
---|
| 22 | #endif /* _TIME_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.