From a82ab8ad6d277ededc128678aebabf5fbdb01c45 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Sun, 28 Dec 2025 00:48:24 +0800 Subject: feat(syscall): Implement syscall dispatch and process lifecycle (exit/wait/sleep) --- include/lib/string.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/lib/string.h (limited to 'include/lib/string.h') diff --git a/include/lib/string.h b/include/lib/string.h new file mode 100644 index 0000000..aa87489 --- /dev/null +++ b/include/lib/string.h @@ -0,0 +1,13 @@ +#pragma once +#include "common/types.h" + + +void *memset(void *dst, int c, uint n); +int memcmp(const void *v1, const void *v2, uint n); +void *memmove(void *dst, const void *src, uint n); +void *memcpy(void *dst, const void *src, uint n); + + +void strcpy(char *dst, const char *src); +int strlen(const char *s); +int strcmp(const char *s1, const char *s2); \ No newline at end of file -- cgit v1.2.3