diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-04 14:56:28 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-04 14:56:28 -0400 |
commit | 54096dae0fd8ae38161caa27c76355657a1bcf84 (patch) | |
tree | fd68bc2e31f096ae76f12db0c7513a092537523f /sys/include | |
parent | 758ffd773a962c3d2e3f95f0d342d5b5d4ea6f08 (diff) |
kernel: lib: Add memcmp()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/lib/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/lib/string.h b/sys/include/lib/string.h index b96902b..a9ceb64 100644 --- a/sys/include/lib/string.h +++ b/sys/include/lib/string.h @@ -38,6 +38,8 @@ char *itoa(int64_t value, char *buf, int base); int vsnprintf(char *s, size_t size, const char *fmt, va_list ap); int snprintf(char *s, size_t size, const char *fmt, ...); + void *memcpy(void *dest, const void *src, size_t n); +int memcmp(const void *s1, const void *s2, size_t n); #endif /* !_LIB_STRING_H_ */ |