From 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 Mon Sep 17 00:00:00 2001 From: hachem Date: Mon, 12 Oct 2026 23:08:48 +0200 Subject: feat: lib sea --- sysroot/usr/include/string.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sysroot/usr/include/string.h (limited to 'sysroot/usr/include/string.h') diff --git a/sysroot/usr/include/string.h b/sysroot/usr/include/string.h new file mode 100644 index 0000000..2177ad6 --- /dev/null +++ b/sysroot/usr/include/string.h @@ -0,0 +1,17 @@ +#ifndef _STRING_H +#define _STRING_H + +#include + +size_t strlen(const char* string); +int strcmp(const char* a, const char* b); +int strncmp(const char* a, const char* b, size_t length); +char* strcpy(char* destination, const char* source); +char* strncpy(char* destination, const char* source, size_t length); + +void* memcpy(void* destination, const void* source, size_t length); +void* memmove(void* destination, const void* source, size_t length); +void* memset(void* destination, int value, size_t length); +int memcmp(const void* a, const void* b, size_t length); + +#endif -- cgit v1.3