summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-04 17:41:08 -0400
committerIan Moffett <ian@osmora.org>2024-06-04 17:41:08 -0400
commit45d9b05c8e5f18d566631260267b47ea779e7743 (patch)
treef945f0391d6dee6888e16808017b5b027461bf36 /sys/include
parentdab04e7b8e99273c2967c965418bb278a0fe873d (diff)
kernel: lib: Add memset()
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-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 a9ceb64..89c728f 100644
--- a/sys/include/lib/string.h
+++ b/sys/include/lib/string.h
@@ -41,5 +41,6 @@ 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);
+void *memset(void *s, int c, size_t n);
#endif /* !_LIB_STRING_H_ */