Zephyr API Documentation
2.7.0-rc2
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. More... | |
time_t | timeutil_timegm (const struct tm *tm) |
Convert broken-down time to a POSIX epoch offset in seconds. More... | |
#include <include/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 <include/sys/timeutil.h>
Convert broken-down time to a POSIX epoch offset in seconds.
tm | pointer to broken down time. |