From ef4c895aa1cdb24fd762a65fc468a4bddbd3fb29 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 26 Feb 2024 12:36:24 -0500 Subject: kernel: Add strcmp() 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 5c6b3ba..d8f6ea2 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -40,5 +40,6 @@ void *memcpy32(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); void *memset64(void *s, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); +int strcmp(const char *s1, const char *s2); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3