diff options
author | Anton Kling <anton@kling.gg> | 2024-12-10 12:24:07 +0100 |
---|---|---|
committer | Anton Kling <anton@kling.gg> | 2024-12-10 12:24:07 +0100 |
commit | 916aa42260290e9e864304bc7d9395b6aa693c27 (patch) | |
tree | 784cdcbe26e828e18413bf9d31d6a84ed74dd1ba /kernel/libc/include | |
parent | bcca3d183930eeaf3d024476f39d1d8fccf2ebab (diff) |
kernel: Add string view and string builder
This makes write/read calls that use strings to communicate much
simpler and less error prone.
Diffstat (limited to 'kernel/libc/include')
-rw-r--r-- | kernel/libc/include/string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/libc/include/string.h b/kernel/libc/include/string.h index 89ea5ab..4425085 100644 --- a/kernel/libc/include/string.h +++ b/kernel/libc/include/string.h @@ -15,4 +15,5 @@ char *copy_and_allocate_string(const char *s); char *copy_and_allocate_user_string(const char *s); size_t strlcpy(char *dst, const char *src, size_t dsize); char *strcat(char *s1, const char *s2); +void *memmove(void *s1, const void *s2, size_t n); #endif |