#include <config.h>#include <stddef.h>#include <stdlib.h>#include <syslog.h>#include <sys/time.h>#include <isc/stdtime.h>#include <isc/util.h>Go to the source code of this file.
Defines | |
| #define | ISC_FIX_TV_USEC 1 |
| #define | US_PER_S 1000000 |
Functions | |
| static void | fix_tv_usec (struct timeval *tv) |
| void | isc_stdtime_get (isc_stdtime_t *t) |
| Set 't' to the number of seconds since 00:00:00 UTC, January 1, 1970. | |
Definition in file stdtime.c.
| #define US_PER_S 1000000 |
Definition at line 37 of file stdtime.c.
Referenced by fix_tv_usec(), isc_stdtime_get(), isc_time_now(), and isc_time_nowplusinterval().
| static void fix_tv_usec | ( | struct timeval * | tv | ) | [inline, static] |
Definition at line 41 of file stdtime.c.
References fixed, ISC_FALSE, ISC_TRUE, and US_PER_S.
Referenced by isc_stdtime_get(), isc_time_now(), and isc_time_nowplusinterval().
| void isc_stdtime_get | ( | isc_stdtime_t * | t | ) |
Set 't' to the number of seconds since 00:00:00 UTC, January 1, 1970.
Requires:
Definition at line 66 of file stdtime.c.
References fix_tv_usec(), INSIST, REQUIRE, RUNTIME_CHECK, and US_PER_S.