zephyr/lib/libc/minimal/source/stdlib
Abramo Bagnara 8521b43546 coding guidelines: comply with MISRA C:2012 Rule 21.13
MISRA C:2012 Rule 21.13 (Any value passed to a function in <ctype.h>
shall be representable as an unsigned char or be the value EOF).

Functions in <ctype.h> have undefined behavior if they are called with
any other value. Callers affected by this change are not prepared to
handle EOF anyway. The addition of these casts avoids the issue
and does not result in any performance penalty.

Signed-off-by: Abramo Bagnara <abramo.bagnara@bugseng.com>
Signed-off-by: Simon Hein <SHein@baumer.com>
2022-06-30 17:34:28 -04:00
..
abort.c lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
atoi.c coding guidelines: comply with MISRA C:2012 Rule 21.13 2022-06-30 17:34:28 -04:00
bsearch.c
exit.c lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
malloc.c lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
qsort.c lib: migrate includes to <zephyr/...> 2022-05-06 19:58:09 +02:00
rand.c libc: Define Z_LIBC_DATA macro globally 2022-06-01 11:03:38 +02:00
strtol.c coding guidelines: comply with MISRA C:2012 Rule 21.13 2022-06-30 17:34:28 -04:00
strtoll.c libc: minimal: Add strtoll implementation 2022-05-25 14:52:29 +02:00
strtoul.c coding guidelines: comply with MISRA C:2012 Rule 21.13 2022-06-30 17:34:28 -04:00
strtoull.c libc: minimal: Add strtoull implementation 2022-05-25 14:52:29 +02:00