From 5d5b1d775984fe0112c0e1f60500c7d8e9850337 Mon Sep 17 00:00:00 2001 From: dzwdz Date: Tue, 3 Aug 2021 18:44:54 +0200 Subject: kernel: implement memcmp --- src/kernel/util.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/kernel/util.h') diff --git a/src/kernel/util.h b/src/kernel/util.h index 39301d6..b50810d 100644 --- a/src/kernel/util.h +++ b/src/kernel/util.h @@ -6,3 +6,5 @@ void *memcpy(void *dest, const void *src, size_t n); void *memset(void *s, int c, size_t n); + +int memcmp(const void *s1, const void *s2, size_t n); -- cgit v1.2.3