diff options
author | dzwdz | 2021-08-03 18:44:54 +0200 |
---|---|---|
committer | dzwdz | 2021-08-03 18:44:54 +0200 |
commit | 5d5b1d775984fe0112c0e1f60500c7d8e9850337 (patch) | |
tree | 0c4e160b6559678d9f635ea6e76f9f60dfa34c3c /src/kernel/util.h | |
parent | 5b2bb4e025919d74090d23cbabadfeec3b1e9dc4 (diff) |
kernel: implement memcmp
Diffstat (limited to 'src/kernel/util.h')
-rw-r--r-- | src/kernel/util.h | 2 |
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); |