nuttx/libs
Juha Niskanen 47026978bf libs/libc/string: fix memmem() boundary case when needle is at end of haystack
This fixes calls like memmem("hello", 5, "lo", 2);

Also zero-length needle is deemed to exist at beginning of haystack.
This behavior matches memmem() on Linux, FreeBSD, NetBSD and OpenBSD.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2024-03-11 22:06:19 +08:00
..
libc libs/libc/string: fix memmem() boundary case when needle is at end of haystack 2024-03-11 22:06:19 +08:00
libdsp Documentation: remove all migrated READMEs 2023-10-29 21:03:54 -03:00
libm newlib: fix compilation for sincosl 2024-02-26 23:56:47 +08:00
libnx semaphore/_SEM_XX: Remove the _SEM redirection macros as unnecessary 2023-11-27 04:52:54 -08:00
libxx Use C++ standard lib from toolchain 2024-03-06 08:42:44 +08:00
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00