zephyr/lib/libc
Christopher Friedt 0f23818153 posix: env: support for environ, getenv(), setenv(), unsetenv()
Support getting and setting POSIX environment variables.

Additionally, the thread-safe BSD variant getenv_r() is
provided.

environ, getenv(), setenv(), and unsetenv() are required by
the POSIX_SINGLE_PROCESS Option Group as detailed in
Section E.1 of IEEE-1003.1-2017.

The POSIX_SINGLE_PROCESS Option Group is required for PSE51,
PSE52, PSE53, and PSE54 conformance, and is otherwise mandatory
for any POSIX conforming system as per Section A.2.1.3 of
IEEE-1003-1.2017.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2024-03-08 04:28:47 -05:00
..
arcmwdt ARCMWDT: Add headers for POSIX compatibility 2023-12-19 08:53:51 -06:00
armstdc lib: libc: armstdc: add missing retarget of fputc to _stdout_hook 2023-10-04 11:02:37 +02:00
common libc: Move gmtime_r into common 2024-02-28 00:54:42 +09:00
minimal posix: env: support for environ, getenv(), setenv(), unsetenv() 2024-03-08 04:28:47 -05:00
newlib buildsystem: Enable LTO also for the application 2024-03-02 15:39:36 +01:00
picolibc buildsystem: Enable LTO also for the application 2024-03-02 15:39:36 +01:00
CMakeLists.txt lib: syscalls: use zephyr_syscall_header 2023-06-17 07:57:45 -04:00
Kconfig libc/picolibc: Support 'long long' and 'minimal' printf variants 2023-11-20 06:07:58 -05:00