diff options
author | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-09-27 09:22:19 +0100 |
---|---|---|
committer | Antonio Nino Diaz <antonio.ninodiaz@arm.com> | 2018-11-02 13:41:33 +0000 |
commit | b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc (patch) | |
tree | c7952a6509d7b48a72ae1322e75d110835f4a523 /include | |
parent | b3e9214e96eb2a5a5eb94127037eecfee81d3509 (diff) | |
download | platform_external_arm-trusted-firmware-b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc.tar.gz platform_external_arm-trusted-firmware-b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc.tar.bz2 platform_external_arm-trusted-firmware-b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc.zip |
libc: Adapt strlcpy to this codebase
Change-Id: I2f5f64aaf90caae936510e1179392a8835f493e0
Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/lib/libc/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/lib/libc/string.h b/include/lib/libc/string.h index 3c8e3b65e..ee6eeacef 100644 --- a/include/lib/libc/string.h +++ b/include/lib/libc/string.h @@ -28,5 +28,6 @@ void *memset(void *dst, int val, size_t count); 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); #endif /* STRING_H */ |