The latest development version of this page may be more current than this released 2.5.0 version.
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 lib/libc/Kconfig:110

Included via Kconfig:8Kconfig.zephyr:33lib/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.)