diff options
Diffstat (limited to 'src/common/include/string.h')
-rw-r--r-- | src/common/include/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/include/string.h b/src/common/include/string.h index 9608dd5..686382d 100644 --- a/src/common/include/string.h +++ b/src/common/include/string.h @@ -12,8 +12,10 @@ size_t strlen(const char *str); char *strchr(const char *str, char c); char *strrchr(const char *str, char c); char *strcpy(char *dest, const char *src); +char *strncpy(char *dest, const char *src, size_t n); char *strcat(char *dest, const char *src); int strcmp(const char *s1, const char *s2); +int strncmp(const char *s1, const char *s2, size_t n); char *strdup(const char* str); |