CONFIG_MINIMAL_LIBC_RAND
Enables rand and srand functions
Type: bool
Help
Enable rand() and srand() for the minimal libc. The
functions implicitly access global/static data. Such data
must be put into a memory partition if CONFIG_USERSPACE=y,
and disabling this option may save an entry for application
defining many custom partitions.
Say 'Y' here if you need rand() and srand(). This might require
an additional memory partition.
Defaults
No defaults. Implicitly defaults to n
.
Symbols selected by this symbol
Kconfig definition
At <Zephyr>/lib/libc/Kconfig:167
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:43
→ <Zephyr>/lib/Kconfig:4
Menu path: (Top) → C Library
config MINIMAL_LIBC_RAND
bool "Enables rand and srand functions"
select NEED_LIBC_MEM_PARTITION
depends on MINIMAL_LIBC
help
Enable rand() and srand() for the minimal libc. The
functions implicitly access global/static data. Such data
must be put into a memory partition if CONFIG_USERSPACE=y,
and disabling this option may save an entry for application
defining many custom partitions.
Say 'Y' here if you need rand() and srand(). This might require
an additional memory partition.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)