summaryrefslogtreecommitdiff
path: root/euler/source/io/fclose.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'euler/source/io/fclose.cpp')
-rw-r--r--euler/source/io/fclose.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/euler/source/io/fclose.cpp b/euler/source/io/fclose.cpp
new file mode 100644
index 0000000..6f43f85
--- /dev/null
+++ b/euler/source/io/fclose.cpp
@@ -0,0 +1,10 @@
+#include <cstdio>
+
+namespace std {
+
+ int fclose(FILE *stream) {
+ delete stream;
+ return 0;
+ }
+
+}