fixing merge conflicts from local merg in loader.asm

This commit is contained in:
Medium Fries
2019-02-25 16:57:11 -08:00
6 changed files with 35 additions and 17 deletions

8
stl/stdlib.c Normal file
View File

@@ -0,0 +1,8 @@
int memcmp(const void* left, const void* right, const unsigned length) {
for(unsigned i=0;i<length;i++) {
if(left[i] != right[i]) {
return 1;
}
}
return 0;
}

1
stl/stdlib.h Normal file
View File

@@ -0,0 +1 @@
int memcmp(const void* left, const void* right, const unsigned length);

View File

@@ -1,4 +1,7 @@
// our own stuff for stl utilities
/*
* string.h
* String based utilities
*/
unsigned strlen(const char* str) {
unsigned idx = 0;