diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2020-01-06 14:54:07 +0000 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-01-06 14:54:07 +0000 |
commit | bbd64ec1e971c58e4917359cf9920da11bb31d6a (patch) | |
tree | 615bf2e9852ae483b1a187235bb06352c8195dc5 /string/include | |
parent | dbb919dc12bbca2ea0f3426758773bd99212033d (diff) | |
download | arm-optimized-routines-bbd64ec1e971c58e4917359cf9920da11bb31d6a.tar.gz |
string: Add strrchr
Add strrchr for AArch64. Originally written by Richard Earnshaw, same
code is present in newlib, this copy has minor edits for inclusion into
the optimized-routines repo.
Diffstat (limited to 'string/include')
-rw-r--r-- | string/include/stringlib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/string/include/stringlib.h b/string/include/stringlib.h index 3f60220..19e63ce 100644 --- a/string/include/stringlib.h +++ b/string/include/stringlib.h @@ -22,6 +22,7 @@ int __memcmp_aarch64 (const void *, const void *, size_t); char *__strcpy_aarch64 (char *__restrict, const char *__restrict); int __strcmp_aarch64 (const char *, const char *); char *__strchr_aarch64 (const char *, int); +char *__strrchr_aarch64 (const char *, int); char *__strchrnul_aarch64 (const char *, int ); size_t __strlen_aarch64 (const char *); size_t __strnlen_aarch64 (const char *, size_t); |