feat(libc): add freestanding types and string helpers

This commit is contained in:
dualfroz committed 2026-08-23 19:48:16 +02:00
1 parent fbe59c8ffc
commit c111550d0e
3 files changed
+104

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
#ifndef FROSTBYTE_STRING_H
#define FROSTBYTE_STRING_H
#include "types.h"
void* memset(void* dest, int value, usize count);
void* memcpy(void* dest, const void* src, usize count);
void* memmove(void* dest, const void* src, usize count);
int memcmp(const void* a, const void* b, usize count);
usize strlen(const char* str);
int strcmp(const char* a, const char* b);
int strncmp(const char* a, const char* b, usize count);
#endif