diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/util.h b/include/util.h index e031148e45..62c9bceb25 100644 --- a/include/util.h +++ b/include/util.h @@ -69,9 +69,13 @@ int memcmp(const void *s1, const void *s2, size_t len); void *memcpy(void *dest, const void *src, size_t len); __visible void *memset(void *dest, int c, size_t len); void *memmove(void *dest, const void *src, size_t len); +void *memchr(const void *buffer, int c, size_t n); int strcasecmp(const char *s1, const char *s2); int strncasecmp(const char *s1, const char *s2, size_t size); int strlen(const char *s); +size_t strnlen(const char *s, size_t maxlen); +char *strncpy(char *dest, const char *src, size_t n); +int strncmp(const char *s1, const char *s2, size_t n); /* Like strtol(), but for integers. */ int strtoi(const char *nptr, char **endptr, int base); |