Zephyr API Documentation
3.7.0
A Scalable Open Source RTOS
|
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. | |
#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. |