Fully implemented stdio.h!

This commit is contained in:
2024-10-26 14:39:41 +02:00
parent 96fdd9a9cb
commit 21c59b28f7
6 changed files with 133 additions and 12 deletions
+4
View File
@@ -4,6 +4,10 @@
#include <string.h>
#include <fcntl.h>
FILE* stdin;
FILE* stdout;
FILE* stderr;
FILE* fopen(const char* path, const char* mode) {
FILE* fp = (FILE*)malloc(sizeof(FILE));
if (!fp) { return NULL; }