Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples
include/time.h File Reference
Detailed Description
Standard C time handling functions.
Typedefs | |
| typedef _tm | tm |
| Type definition for struct _tm. | |
| typedef long | time_t |
| Serial date/time. Holds number of seconds after January 1st, 1970. | |
Functions | |
| time_t | time (time_t *timer) |
| Get the system time. | |
| int | gmtime_r (CONST time_t *timer, tm *theTime) |
| Convert a time value to a structure. | |
| tm * | gmtime (CONST time_t *timer) |
| Convert a time value to a structure. | |
| int | localtime_r (CONST time_t *timer, tm *theTime) |
| Convert a time value and correct for the local time zone. | |
| tm * | localtime (CONST time_t *timer) |
| Convert a time value and correct for the local time zone. | |
| int | stime (time_t *timer) |
| Set the system time. | |
| time_t | mktime (tm *timeptr) |
| Convert the local time to a calendar value. | |
| time_t | _mkgmtime (tm *timeptr) |
Variables | |
| u_char | _daylight |
| Used to control daylight conversions. | |
| long | _timezone |
| Defines your local timezone. | |
| long | _dstbias |
| Difference between standard and daylight savings time in seconds. | |