From 499e349afa57536ce80497aa99f61c5492e3733e Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Sat, 29 Jan 2011 03:15:44 +0100 Subject: More filesystem stuff working. devfs is now in place with stdin, stdout, and stderr. --- os/src/fopen.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 os/src/fopen.c (limited to 'os/src/fopen.c') diff --git a/os/src/fopen.c b/os/src/fopen.c new file mode 100644 index 0000000..e8b4246 --- /dev/null +++ b/os/src/fopen.c @@ -0,0 +1,6 @@ +#include +#include + +FILE * fopen(const char * path, const char * mode) { + return _fopen_r(_impure_ptr, path, mode); +} -- cgit v1.2.3