diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/toxic/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/toxic/string.h b/src/include/toxic/string.h index b43942b..0aedb0b 100644 --- a/src/include/toxic/string.h +++ b/src/include/toxic/string.h @@ -10,6 +10,7 @@ bool isdigit(char c); size_t strlen(const char *s); size_t strnlen(const char *s, size_t maxlen); char *strcpy(char *restrict dst, const char *restrict src); +char *strncpy(char *restrict dst, const char *restrict src, size_t dsize); int strncmp(const char *s1, const char *s2, size_t n); void *memset(void *s, int c, size_t n); |
