zephyr/lib/libc/minimal/source
Stephanos Ioannidis eb710039c0 libc: minimal: Fix gmtime() userspace support
The gmtime() function returns a global result variable, and this
variable must be placed in the `z_libc_partition` when userspace is
enabled.

Since gmtime() makes use of a global variable and this results in a
footprint increase, this commit makes the time functions optional by
introducing `CONFIG_MINIMAL_LIBC_TIME` Kconfig and making them only
available when this option is enabled.

Signed-off-by: Stephanos Ioannidis <root@stephanos.io>
2022-06-01 11:03:38 +02:00
..
math lib/libc/minimal: Move sqrt/sqrtf from samples 2022-05-14 08:49:36 +09:00
stdlib libc: Define Z_LIBC_DATA macro globally 2022-06-01 11:03:38 +02:00
stdout lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
string libc: minimal: Add strstr implementation 2022-05-25 14:52:29 +02:00
time libc: minimal: Fix gmtime() userspace support 2022-06-01 11:03:38 +02:00