#include <time.h>#include "mygmtime.h"Go to the source code of this file.
Defines | |
| #define | ChkAdd(dest, src1, src2) |
| #define | ChkMul(dest, src1, src2) ( src1 ? (dest/src1 != src2) : 0 ) |
Functions | |
| long | mygmktime (struct tm *tb) |
| tm * | mygmtime (time_t *timp, struct tm *ptb) |
| static long | TimeDifference (void) |
Variables | |
| static int | _lpdays [] = { -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365 } |
| static int | _days [] = { -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364 } |
|
|
Value: ( ((src1 >= 0L) && (src2 >= 0L) \
&& (dest < 0L)) || ((src1 < 0L) && (src2 < 0L) && (dest >= 0L)) )
Definition at line 46 of file mygmtime.c. |
|
|
Definition at line 52 of file mygmtime.c. |
|
|
Definition at line 55 of file mygmtime.c. References _BASE_YEAR, _days, _LEAP_YEAR_ADJUST, _MAX_YEAR, ChkAdd, ChkMul, mygmtime(), and NULL. |
|
||||||||||||
|
Definition at line 154 of file mygmtime.c. References _DAY_SEC, _FOUR_YEAR_SEC, _YEAR_SEC, and NULL. Referenced by log_printf(), log_thread(), mygmktime(), and TimeDifference(). |
|
|
Definition at line 243 of file mygmtime.c. References lTime, mygmtime(), NULL, and pGmTime. |
|
|
Definition at line 42 of file mygmtime.c. |
|
|
Definition at line 41 of file mygmtime.c. |
1.4.6-NO