| 1 | #ifndef __struct_tm_defined | 
|---|
| 2 | #define __struct_tm_defined 1 | 
|---|
| 3 |  | 
|---|
| 4 | #include <bits/types.h> | 
|---|
| 5 |  | 
|---|
| 6 | /* ISO C `broken-down time' structure.  */ | 
|---|
| 7 | struct tm | 
|---|
| 8 | { | 
|---|
| 9 | int tm_sec;                        /* Seconds.        [0-60] (1 leap second) */ | 
|---|
| 10 | int tm_min;                        /* Minutes.        [0-59] */ | 
|---|
| 11 | int tm_hour;                        /* Hours.        [0-23] */ | 
|---|
| 12 | int tm_mday;                        /* Day.                [1-31] */ | 
|---|
| 13 | int tm_mon;                        /* Month.        [0-11] */ | 
|---|
| 14 | int tm_year;                        /* Year        - 1900.  */ | 
|---|
| 15 | int tm_wday;                        /* Day of week.        [0-6] */ | 
|---|
| 16 | int tm_yday;                        /* Days in year.[0-365]        */ | 
|---|
| 17 | int tm_isdst;                        /* DST.                [-1/0/1]*/ | 
|---|
| 18 |  | 
|---|
| 19 | # ifdef        __USE_MISC | 
|---|
| 20 | long int tm_gmtoff;                /* Seconds east of UTC.  */ | 
|---|
| 21 | const char *tm_zone;                /* Timezone abbreviation.  */ | 
|---|
| 22 | # else | 
|---|
| 23 | long int __tm_gmtoff;                /* Seconds east of UTC.  */ | 
|---|
| 24 | const char *__tm_zone;        /* Timezone abbreviation.  */ | 
|---|
| 25 | # endif | 
|---|
| 26 | }; | 
|---|
| 27 |  | 
|---|
| 28 | #endif | 
|---|
| 29 |  | 
|---|