summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/linux/fclean.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/linux/fclean.c')
-rw-r--r--newlib/libc/sys/linux/fclean.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/libc/sys/linux/fclean.c b/newlib/libc/sys/linux/fclean.c
new file mode 100644
index 000000000..2fb11fc83
--- /dev/null
+++ b/newlib/libc/sys/linux/fclean.c
@@ -0,0 +1,7 @@
+#include <stdio.h>
+
+int
+fclean (FILE *fp)
+{
+ return fflush (fp);
+}