diff options
Diffstat (limited to 'sys/inc')
| -rw-r--r-- | sys/inc/lib/string.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/inc/lib/string.h b/sys/inc/lib/string.h index 0ad7053..2c21c36 100644 --- a/sys/inc/lib/string.h +++ b/sys/inc/lib/string.h @@ -54,6 +54,9 @@ int snprintf(char *s, size_t size, const char *fmt, ...); /* POSIX memcmp() */ int memcmp(const void *s1, const void *s2, size_t n); +/* POSIX strncmp() */ +int strncmp(const char *s1, const char *s2, size_t n); + /* Convert base int to string */ char *itoa(int64_t value, char *buf, int base); |
