aboutsummaryrefslogtreecommitdiff
path: root/sys/include/lib
diff options
context:
space:
mode:
authorian <ian>2023-07-17 05:20:45 +0000
committerian <ian>2023-07-17 05:20:45 +0000
commit45b2c26ebf5866d44a4d780de8e767b127174f76 (patch)
treeb0a3a7d5e6c645d2297fea7fec571a7822d775b1 /sys/include/lib
parentbeb453f26bcb31cdaf04a15533ae0c38f7075726 (diff)
kernel/lib: Add memcmp()
git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@25 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
Diffstat (limited to 'sys/include/lib')
-rw-r--r--sys/include/lib/string.h1
1 files changed, 1 insertions, 0 deletions
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_ */