summaryrefslogtreecommitdiff
path: root/src/kernel/util.h
diff options
context:
space:
mode:
authordzwdz2021-08-03 18:44:54 +0200
committerdzwdz2021-08-03 18:44:54 +0200
commit5d5b1d775984fe0112c0e1f60500c7d8e9850337 (patch)
tree0c4e160b6559678d9f635ea6e76f9f60dfa34c3c /src/kernel/util.h
parent5b2bb4e025919d74090d23cbabadfeec3b1e9dc4 (diff)
kernel: implement memcmp
Diffstat (limited to 'src/kernel/util.h')
-rw-r--r--src/kernel/util.h2
1 files changed, 2 insertions, 0 deletions
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);