summaryrefslogtreecommitdiff
path: root/os/src/fclose.c
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 18:23:01 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-24 19:43:52 +0100
commiteee119de6a2bd0487e91daf69e7962351e2a3c9c (patch)
treee0e3bbe6d234e30216a83b65abafadf9f4df75f3 /os/src/fclose.c
parent965df7faefabdd5f571b5eb46d45470223c91e12 (diff)
Dummy software compiles; fixed a few linking issues. Also, most of the kernel syscalls are missing.
Diffstat (limited to 'os/src/fclose.c')
-rw-r--r--os/src/fclose.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/src/fclose.c b/os/src/fclose.c
new file mode 100644
index 0000000..fe81f62
--- /dev/null
+++ b/os/src/fclose.c
@@ -0,0 +1,6 @@
+#include <stdio.h>
+#include <reent.h>
+
+int fclose(FILE * fp) {
+ return _fclose_r(_impure_ptr, fp);
+}