zephyr/lib/libc
Binu Jacob 5fa5658ef7 libc: newlibc: Fix recursive gettimeofday() calls on non-Posix systems
Calling gettimeofday() from _gettimeofday() in a non-Posix build
environment can result in a recursive call loop, causing a stack
overflow. Modify _gettimeofday() to return -1 for non-posix systems
(the previous behaviour that was added in #22508).

Fixes #41095

Signed-off-by: Binu Jacob <bjj@planetinnovation.com.au>
2022-01-21 15:27:45 -05:00
..
arcmwdt lib: libc: Drop z_ prefix from stdio syscalls 2021-09-11 04:47:01 -04:00
armstdc armclang: threading_weak.c source file added for armclang 2021-08-30 08:54:23 -04:00
minimal arch: add MIPS architecture support 2022-01-19 13:48:21 -05:00
newlib libc: newlibc: Fix recursive gettimeofday() calls on non-Posix systems 2022-01-21 15:27:45 -05:00
CMakeLists.txt armclang: ARM Compiler C library support 2021-08-30 08:54:23 -04:00
Kconfig lib: os: add heap event listener 2021-12-18 07:49:15 -05:00