:orphan: .. title:: CONFIG_MINIMAL_LIBC_RAND .. kconfig:: CONFIG_MINIMAL_LIBC_RAND CONFIG_MINIMAL_LIBC_RAND ######################## *Enables rand and srand functions* Type: ``bool`` Help ==== .. code-block:: none 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. Direct dependencies =================== \ :kconfig:`MINIMAL_LIBC ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Symbols selected by this symbol =============================== - \ :kconfig:`NEED_LIBC_MEM_PARTITION ` Kconfig definition ================== At ``/libc/Kconfig:160`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:43`` → ``/Kconfig:4`` Menu path: (Top) → C Library .. code-block:: kconfig 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.)*