From 7221137c81b87a25c800b0aa186f0c2a566355d0 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 13 Jun 2024 18:30:55 -0400 Subject: kernel: string: Add strcmp() Signed-off-by: Ian Moffett --- sys/include/lib/string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include/lib') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 89c728f..3ae33ea 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -41,6 +41,8 @@ int snprintf(char *s, size_t size, const char *fmt, ...); void *memcpy(void *dest, const void *src, size_t n); 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); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3