From ab8803f7cfdc7c7b258fb3e59fb2d55bacf7522a Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sun, 23 Jul 2017 15:27:43 +0200 Subject: added a strncmp function --- src/libc/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/libc/string.h') diff --git a/src/libc/string.h b/src/libc/string.h index f078d48..09028c1 100644 --- a/src/libc/string.h +++ b/src/libc/string.h @@ -9,6 +9,7 @@ void *memcpy( void *d, const void *s, 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 ); size_t strlcpy( char *d, const char *s, size_t n ); size_t strlcat( char *d, const char *s, size_t n ); -- cgit v1.2.3-54-g00ecf