diff options
author | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2020-09-04 14:04:23 -0500 |
---|---|---|
committer | Madhukar Pappireddy <madhukar.pappireddy@arm.com> | 2020-09-09 13:48:04 -0500 |
commit | 1123a5e2f973dc9f0223467f4782f6b2df542620 (patch) | |
tree | c4598c9d8d7b38f40b2d31a923e7a950adf5abd5 /include | |
parent | ed39d5e3c0709bab22821a1da3a62737c5d531de (diff) | |
download | trusted-firmware-a-1123a5e2f973dc9f0223467f4782f6b2df542620.tar.gz |
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 <madhukar.pappireddy@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/libc/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib/libc/string.h b/include/lib/libc/string.h index 71774b0c81..91cbafbb74 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 */ |