summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-28 23:59:37 +0100
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2011-01-28 23:59:37 +0100
commit5754656f65205ff1fd9b23c2a85778b3671caf68 (patch)
tree918a6f63ada4884a43be1284e583de3e351f1324
parent8fbd519e538ddedcbafe5f6732b16d5d8a1b7bf4 (diff)
stdio is working up to the point printf works.
-rw-r--r--os/src/fflush.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/src/fflush.c b/os/src/fflush.c
new file mode 100644
index 0000000..fc1bf63
--- /dev/null
+++ b/os/src/fflush.c
@@ -0,0 +1,5 @@
+#include <stdio.h>
+
+int fflush(FILE * file) {
+ return _fflush_r(_impure_ptr, file);
+}