diff options
author | danh-arm <dan.handley@arm.com> | 2017-01-24 14:28:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 14:28:19 +0000 |
commit | 34438669d41a648e4dcf6fd93e1a1f1f7eee0482 (patch) | |
tree | acbf7b221e69f3dc726566d537b2196454e28072 /include/lib/stdlib/string.h | |
parent | 4abd2225c232e5d102e52db504c7f0f363b87795 (diff) | |
parent | d67879d311c63fde5a7b1ba4d40c710f86da1153 (diff) |
Merge pull request #818 from sandrine-bailleux-arm/sb/strnlen
Add strnlen() to local C library
Diffstat (limited to 'include/lib/stdlib/string.h')
-rw-r--r-- | include/lib/stdlib/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lib/stdlib/string.h b/include/lib/stdlib/string.h index 61e8102c..9beeb448 100644 --- a/include/lib/stdlib/string.h +++ b/include/lib/stdlib/string.h @@ -31,7 +31,7 @@ */ /* - * Portions copyright (c) 2013-2014, ARM Limited and Contributors. + * Portions copyright (c) 2013-2017, ARM Limited and Contributors. * All rights reserved. */ @@ -59,6 +59,7 @@ char *strchr(const char *, int) __pure; int strcmp(const char *, const char *) __pure; size_t strlen(const char *) __pure; int strncmp(const char *, const char *, size_t) __pure; +size_t strnlen(const char *, size_t) __pure; int strcasecmp(const char *, const char *); __END_DECLS |