zephyr/lib/libc
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
..
arcmwdt lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
armstdc lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
minimal libc: minimal: Fix gmtime() userspace support 2022-06-01 11:03:38 +02:00
newlib lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
CMakeLists.txt armclang: ARM Compiler C library support 2021-08-30 08:54:23 -04:00
Kconfig libc: minimal: Fix gmtime() userspace support 2022-06-01 11:03:38 +02:00