nuttx/libs/libc/stdlib
Michal Lenc 9798674f27 libc: add support for reallocarray
This commit adds support for reallocarray function. The functionality
is the same as for standard realloc, but the function also checks for
multiplication overflow and fails safely in case it occurs.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2024-04-17 11:36:39 -03:00
..
CMakeLists.txt libc: add support for reallocarray 2024-04-17 11:36:39 -03:00
Kconfig
lib_abort.c
lib_abs.c
lib_aligned_alloc.c
lib_atexit.c
lib_atof.c
lib_atoi.c
lib_atol.c
lib_atoll.c
lib_bsearch.c
lib_checkbase.c
lib_div.c
lib_exit.c libs/libc/stdlib/lib_exit.c: fix multiple definition of __dso_handle in msys2 2023-10-27 01:21:10 +08:00
lib_getprogname.c sched/task: save argument counter to avoid limit check 2024-03-05 22:25:28 +08:00
lib_itoa.c
lib_labs.c
lib_ldiv.c
lib_llabs.c
lib_lldiv.c
lib_mblen.c
lib_mbstowcs.c
lib_mbtowc.c
lib_mkdtemp.c
lib_mkstemp.c
lib_mktemp.c
lib_openpty.c
lib_posix_memalign.c
lib_ptsname.c
lib_ptsnamer.c
lib_qsort.c
lib_rand48.c
lib_rand.c
lib_reallocarray.c libc: add support for reallocarray 2024-04-17 11:36:39 -03:00
lib_realpath.c libc/realpath: allocate link buffer of pseudofs to save stack 2023-11-07 09:05:50 +08:00
lib_srand.c
lib_strtol.c
lib_strtold.c libc: Change errno to set_errno and get_errno 2023-10-29 17:16:09 +02:00
lib_strtoll.c
lib_strtoul.c
lib_strtoull.c
lib_unlockpt.c
lib_valloc.c
lib_wcstombs.c
lib_wctomb.c
Make.defs libc: add support for reallocarray 2024-04-17 11:36:39 -03:00