From 54096dae0fd8ae38161caa27c76355657a1bcf84 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 4 Jun 2024 14:56:28 -0400 Subject: kernel: lib: Add memcmp() Signed-off-by: Ian Moffett --- sys/include/lib/string.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/include') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index b96902b..a9ceb64 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -38,6 +38,8 @@ char *itoa(int64_t value, char *buf, int base); int vsnprintf(char *s, size_t size, const char *fmt, va_list ap); 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); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3