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
armstdc
minimal libc: minimal: Fix gmtime() userspace support 2022-06-01 11:03:38 +02:00
newlib
CMakeLists.txt
Kconfig libc: minimal: Fix gmtime() userspace support 2022-06-01 11:03:38 +02:00