summaryrefslogtreecommitdiff
path: root/euler/include
diff options
context:
space:
mode:
Diffstat (limited to 'euler/include')
-rw-r--r--euler/include/cstdio5
1 files changed, 5 insertions, 0 deletions
diff --git a/euler/include/cstdio b/euler/include/cstdio
index 27073db..75472c1 100644
--- a/euler/include/cstdio
+++ b/euler/include/cstdio
@@ -10,6 +10,11 @@ namespace std {
FILE *fopen(const char *filename, const char *mode);
int fclose(FILE *stream);
+ int fseek(FILE *stream, long offset, int origin);
+ #define SEEK_SET 0
+ #define SEEK_CUR 2
+ #define SEEK_END 1
+
size_t fread(void *buffer, size_t size, size_t count, FILE *stream);
}