commit | ebff1072681c5ed09bb70d9c4f617476822db757 | [log] [tgz] |
---|---|---|
author | Ambroise Vincent <ambroise.vincent@arm.com> | Wed Jun 19 17:14:09 2019 +0100 |
committer | Olivier Deprez <olivier.deprez@arm.com> | Wed Dec 11 08:51:26 2019 +0100 |
tree | 0b1e03c3b589170de28561c3408a61b8b0e4a5ec | |
parent | 87b582ef5b31c5893a470b61c217931fc7602da3 [diff] [blame] |
libc: add memrchr This function scans a string backwards from the end for the first instance of a character. Change-Id: I46b21573ed25a0ff222eac340e1e1fb93b040763 Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
diff --git a/lib/libc/libc.mk b/lib/libc/libc.mk index e1b5560..93d30d0 100644 --- a/lib/libc/libc.mk +++ b/lib/libc/libc.mk
@@ -12,6 +12,7 @@ memcmp.c \ memcpy.c \ memmove.c \ + memrchr.c \ memset.c \ printf.c \ putchar.c \