Fixup C++ compiler path in makefile of CoreLib

memcpy implementation added
This commit is contained in:
2023-02-25 20:04:34 +01:00
parent 644ff5b1f5
commit 745656eb2d
3 changed files with 15 additions and 1 deletions

View File

@ -32,6 +32,17 @@ int memcmp( const void* ptr1, const void* ptr2, size_t num)
}
void memcpy (void* dest, const void* src, size_t count ){
for( int i = 0; i < count; i++){
((char *)dest)[i] = ((const char*)src)[i];
}
}
size_t strlen(const char* str) {
size_t len = 0;
while(str[len]){