Implemented diskWrite() function!\nWe finally have disk operations!! Get ready for the filetable :)

This commit is contained in:
2024-04-11 14:52:30 +02:00
parent 4d6dc13762
commit ebe7ef26ee
5 changed files with 83 additions and 24 deletions
+5
View File
@@ -30,6 +30,11 @@ uint32_t atoi(const char* str) {
return res;
}
int isSpace(char c) {
if (c == ' ' || c == '\t' || c == '\n') return 1;
else return 0;
}
// Some implementations taken from https://en.wikibooks.org/wiki/C_Programming/String_manipulation
char* strcat(char* str1, const char* str2) {
char* s = str1;