From 8c5afdb1601a1864e9fd0416b9d2f42d0bdf489a Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 19 Jun 2024 22:16:26 -0400 Subject: kernel: lib: Add strncmp() Signed-off-by: Ian Moffett --- sys/include/lib/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include/lib/string.h') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 3ae33ea..8500af2 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -44,5 +44,6 @@ int memcmp(const void *s1, const void *s2, size_t n); void *memset(void *s, int c, size_t n); int strcmp(const char *s1, const char *s2); +int strncmp(const char *s1, const char *s2, size_t n); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3