diff options
Diffstat (limited to 'lib/libc/include')
-rw-r--r-- | lib/libc/include/string.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/lib/libc/include/string.h b/lib/libc/include/string.h index e0360ae..1b270c7 100644 --- a/lib/libc/include/string.h +++ b/lib/libc/include/string.h @@ -31,7 +31,17 @@ #define _STRING_H #include <stddef.h> +#include <stdint.h> -size_t strlen(const char *s); +void *memcpy(void *dest, const void *src, size_t n); +void *memccpy(void *dest, const void *src, int c, size_t n); +void *memmove(void *dest, const void *src, size_t n); +void *memset(void *s, int c, size_t n); +int memcmp(const void *s1, const void *s2, size_t n); +void *memchr(const void *s, int c, size_t n); + +size_t strlen(const char *s); +int strcmp(const char *s1, const char *s2); +int strncmp(const char *s1, const char *s2, size_t n); #endif /* !_STRING_H */ |