Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
|
Macros | |
#define | TIME_UTILS_BASE_YEAR 1900 |
Functions | |
int64_t | timeutil_timegm64 (const struct tm *tm) |
Convert broken-down time to a POSIX epoch offset in seconds. | |
time_t | timeutil_timegm (const struct tm *tm) |
Convert broken-down time to a POSIX epoch offset in seconds. | |
#define TIME_UTILS_BASE_YEAR 1900 |
#include <zephyr/sys/timeutil.h>
#include <zephyr/sys/timeutil.h>
Convert broken-down time to a POSIX epoch offset in seconds.
tm | pointer to broken down time. |
(time_t)-1 is returned and errno
is set to ERANGE`
.#include <zephyr/sys/timeutil.h>
Convert broken-down time to a POSIX epoch offset in seconds.
tm | pointer to broken down time. |