zephyr/lib/libc/minimal/source/stdlib
Christopher Friedt d0629e3c4e libc: malloc: log an error when malloc is called and arena size is 0
Previously, if the arena size was zero, malloc would always fail.
However, the log message was only visible if debug messages were
enabled. Logging an error will hopefully make it more obvious that
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE should be >= if the minimal
libc and malloc are both used.

Fixes #26720

Signed-off-by: Christopher Friedt <chrisfriedt@gmail.com>
2020-07-20 12:48:33 +02:00
..
atoi.c
bsearch.c
exit.c libc: minimal: Implement exit()/_exit() functions. 2019-05-23 09:27:59 -04:00
malloc.c libc: malloc: log an error when malloc is called and arena size is 0 2020-07-20 12:48:33 +02:00
strtol.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00
strtoul.c style: add braces around if/while statements 2019-06-06 15:20:21 +02:00