Last change
on this file since 0170798 was 3ae31e9, checked in by Thomas Lopatic <thomas@…>, 7 years ago |
Imported original source code.
|
-
Property mode
set to
100755
|
File size:
867 bytes
|
Rev | Line | |
---|
[3ae31e9] | 1 | /*
|
---|
| 2 | =============================================================================
|
---|
| 3 | time.h -- header for the time package
|
---|
| 4 | Version 2 -- 1989-01-13 -- D.N. Lynx Crowe
|
---|
| 5 | =============================================================================
|
---|
| 6 | */
|
---|
| 7 |
|
---|
| 8 | struct tm { /* time structure */
|
---|
| 9 |
|
---|
| 10 | int tm_sec; /* seconds (0-59) */
|
---|
| 11 | int tm_min; /* minutes (0-59) */
|
---|
| 12 | int tm_hour; /* hours (0-23) */
|
---|
| 13 | int tm_mday; /* day of month (1-31) */
|
---|
| 14 | int tm_mon; /* month (0-11, Jan is 0) */
|
---|
| 15 | int tm_year; /* year-1900 */
|
---|
| 16 | int tm_wday; /* weekday (0-6, Sun is 0) */
|
---|
| 17 | int tm_yday; /* day of the year */
|
---|
| 18 | int tm_isdst; /* daylight savings flag */
|
---|
| 19 | };
|
---|
| 20 |
|
---|
| 21 | extern struct tm *gmtime();
|
---|
| 22 | extern struct tm *localtime();
|
---|
| 23 | extern char *asctime();
|
---|
| 24 | extern char *ctime();
|
---|
| 25 | extern int tzset();
|
---|
| 26 |
|
---|
| 27 | extern long timezone;
|
---|
| 28 | extern int daylight;
|
---|
| 29 | extern char *tzname[];
|
---|
Note:
See
TracBrowser
for help on using the repository browser.