nuttx/libs/libc/string
Juha Niskanen a17bfec43d libc/string: simplify strrchr
Do not call strlen() here. Old implementation iterated
over string twice, if searched for position was at the
beginning. This commit changes strrchr() to scan string
only once, regardless of input.

Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2022-05-10 23:29:23 +08:00
..
Kconfig
lib_explicit_bzero.c
lib_ffs.c
lib_ffsl.c
lib_ffsll.c
lib_fls.c
lib_flsl.c
lib_flsll.c
lib_index.c
lib_isbasedigit.c
lib_memccpy.c
lib_memchr.c
lib_memcmp.c
lib_memcpy.c
lib_memmove.c
lib_memrchr.c
lib_memset.c
lib_popcount.c
lib_popcountl.c
lib_popcountll.c
lib_rindex.c
lib_skipspace.c
lib_stpcpy.c
lib_stpncpy.c
lib_strcasecmp.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strcasestr.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strcat.c
lib_strchr.c
lib_strchrnul.c libc/string: simplify strrchr 2022-05-10 23:29:23 +08:00
lib_strcmp.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strcoll.c
lib_strcpy.c
lib_strcspn.c
lib_strdup.c
lib_strerror.c
lib_strerrorr.c
lib_strlcat.c
lib_strlcpy.c
lib_strlen.c
lib_strncasecmp.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strncat.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strncmp.c libs/libc/string: unify implementation across the functions 2022-04-23 23:58:54 +08:00
lib_strncpy.c
lib_strndup.c
lib_strnlen.c
lib_strpbrk.c
lib_strrchr.c libc/string: simplify strrchr 2022-05-10 23:29:23 +08:00
lib_strsep.c
lib_strsignal.c
lib_strspn.c
lib_strstr.c libc/string:add LICENSE info 2022-04-14 21:46:12 +08:00
lib_strtok.c
lib_strtokr.c
lib_strxfrm.c
lib_vikmemcpy.c
Make.defs