From 1123a5e2f973dc9f0223467f4782f6b2df542620 Mon Sep 17 00:00:00 2001 From: Madhukar Pappireddy Date: Fri, 4 Sep 2020 14:04:23 -0500 Subject: libc: Import strlcat from FreeBSD project From commit: 21571b1d140ae7bb44e94c0afba2ec61456b275b Made small changes to fit into TF-A project Change-Id: I07fd7fe1037857f6b299c35367c104fb51fa5cfa Signed-off-by: Madhukar Pappireddy --- include/lib/libc/string.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/lib/libc/string.h') diff --git a/include/lib/libc/string.h b/include/lib/libc/string.h index 71774b0c8..91cbafbb7 100644 --- a/include/lib/libc/string.h +++ b/include/lib/libc/string.h @@ -4,7 +4,7 @@ * SPDX-License-Identifier: BSD-3-Clause */ /* - * Portions copyright (c) 2018-2019, ARM Limited and Contributors. + * Portions copyright (c) 2018-2020, ARM Limited and Contributors. * All rights reserved. */ @@ -26,5 +26,6 @@ size_t strlen(const char *s); size_t strnlen(const char *s, size_t maxlen); char *strrchr(const char *p, int ch); size_t strlcpy(char * dst, const char * src, size_t dsize); +size_t strlcat(char * dst, const char * src, size_t dsize); #endif /* STRING_H */ -- cgit v1.2.3 From 374eef025f4d4d407fb84dd83b1fef5d5477e991 Mon Sep 17 00:00:00 2001 From: Madhukar Pappireddy Date: Wed, 16 Sep 2020 18:58:49 -0500 Subject: libc: Import strtok_r from FreeBSD project From commit: 21571b1d140ae7bb44e94c0afba2ec61456b275b Made small changes to fit into TF-A project Change-Id: I991f653a7ace04f9c84bcda78ad8d7114ea18e93 Signed-off-by: Madhukar Pappireddy --- include/lib/libc/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/lib/libc/string.h') diff --git a/include/lib/libc/string.h b/include/lib/libc/string.h index 91cbafbb7..989448318 100644 --- a/include/lib/libc/string.h +++ b/include/lib/libc/string.h @@ -27,5 +27,6 @@ size_t strnlen(const char *s, size_t maxlen); char *strrchr(const char *p, int ch); size_t strlcpy(char * dst, const char * src, size_t dsize); size_t strlcat(char * dst, const char * src, size_t dsize); +char *strtok_r(char *s, const char *delim, char **last); #endif /* STRING_H */ -- cgit v1.2.3