diff options
| author | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-10-12 23:08:48 +0200 |
| commit | 6a5543bb8f1f535ca49737bcd7be0cafca3b2a08 (patch) | |
| tree | bb137b732a1d122aeace46c550733f4793d84601 /sysroot/usr/include/string.h | |
| parent | 59794d0b999e544a94230d9562bf2b99d2ed74c7 (diff) | |
Diffstat (limited to 'sysroot/usr/include/string.h')
| -rw-r--r-- | sysroot/usr/include/string.h | 17 |
1 files changed, 17 insertions, 0 deletions
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 <stddef.h> + +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 |
