summaryrefslogtreecommitdiff
path: root/euler/include/cstdio
diff options
context:
space:
mode:
Diffstat (limited to 'euler/include/cstdio')
-rw-r--r--euler/include/cstdio15
1 files changed, 15 insertions, 0 deletions
diff --git a/euler/include/cstdio b/euler/include/cstdio
new file mode 100644
index 0000000..27073db
--- /dev/null
+++ b/euler/include/cstdio
@@ -0,0 +1,15 @@
+#pragma once
+
+#include <euler/stream.hpp>
+#include <stddef.h>
+
+namespace std {
+
+ typedef euler::stream FILE;
+
+ FILE *fopen(const char *filename, const char *mode);
+ int fclose(FILE *stream);
+
+ size_t fread(void *buffer, size_t size, size_t count, FILE *stream);
+
+}