From 45b2c26ebf5866d44a4d780de8e767b127174f76 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 17 Jul 2023 05:20:45 +0000 Subject: kernel/lib: Add memcmp() git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@25 a8a8aea2-181d-ee11-89e8-15fd0e089fc4 --- sys/include/lib/string.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include') diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index 490ae1a..7134f18 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -40,5 +40,6 @@ void *memmove(void *s1, const void *s2, size_t n); void *memcpy(void *dest, const void *src, size_t n); void *memcpy32(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); #endif /* !_LIB_STRING_H_ */ -- cgit v1.2.3