CONFIG_MINIMAL_LIBC_CALLOC

Enable minimal libc trivial calloc implementation

Type: bool

Help

Enable the minimal libc’s trivial implementation of calloc, which forwards to malloc and memset.

Direct dependencies

MINIMAL_LIBC

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At <Zephyr>/lib/libc/Kconfig:101

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/lib/Kconfig:4

Menu path: (Top) → C Library

config MINIMAL_LIBC_CALLOC
    bool "Enable minimal libc trivial calloc implementation"
    default y
    depends on MINIMAL_LIBC
    help
      Enable the minimal libc's trivial implementation of calloc, which
      forwards to malloc and memset.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)