zephyr/lib/posix
Christopher Friedt cdc36d090c posix: sysconf: add a "small" implementation option
Previously, sysconf() was only available as a macro (i.e. the
"extra-small" option).

This has the advantage of being compile-time constant, and
optimized for both space and speed. One disadvantage is that
querying an `_SC_` value that was invalid or unsupported
would result in a compile error.

Provide a "small" implementation of sysconf() (via Kconfig
choice) as a normal addressable function.

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
2024-03-12 17:57:11 +00:00
..
options posix: sysconf: add a "small" implementation option 2024-03-12 17:57:11 +00:00
shell posix: manually define _POSIX_C_SOURCE in lib/posix 2024-03-08 04:28:47 -05:00
CMakeLists.txt posix: separate shell utilities and posix api implementation 2024-02-01 05:26:24 -05:00
Kconfig posix: separate shell utilities and posix api implementation 2024-02-01 05:26:24 -05:00