From b4cf974a3256275fe2c03d8eaaf07a5e5b337cfc Mon Sep 17 00:00:00 2001 From: Antonio Nino Diaz Date: Thu, 27 Sep 2018 09:22:19 +0100 Subject: libc: Adapt strlcpy to this codebase Change-Id: I2f5f64aaf90caae936510e1179392a8835f493e0 Signed-off-by: Antonio Nino Diaz --- include/lib/libc/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/lib/libc') diff --git a/include/lib/libc/string.h b/include/lib/libc/string.h index 3c8e3b65..ee6eeace 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 */ -- cgit v1.2.3