summaryrefslogtreecommitdiff
path: root/euler/source/io/fseek.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'euler/source/io/fseek.cpp')
-rw-r--r--euler/source/io/fseek.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/euler/source/io/fseek.cpp b/euler/source/io/fseek.cpp
deleted file mode 100644
index 3254468..0000000
--- a/euler/source/io/fseek.cpp
+++ /dev/null
@@ -1,11 +0,0 @@
-#include <cstdio>
-
-namespace std {
-
- int fseek(FILE *stream, long offset, int origin) {
- if (origin < 0 || origin > 2)
- return 1;
- return stream->try_seek((__euler_seek_from)origin, offset) ? 0 : 2;
- }
-
-}