From 7199e74aa22e592a3b77bdd81f735edca5470596 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 20 Jan 2024 17:59:40 -0500 Subject: update --- libraries/euler/include/cstdio | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 libraries/euler/include/cstdio (limited to 'libraries/euler/include/cstdio') diff --git a/libraries/euler/include/cstdio b/libraries/euler/include/cstdio new file mode 100644 index 0000000..3bb293b --- /dev/null +++ b/libraries/euler/include/cstdio @@ -0,0 +1,19 @@ +#pragma once + +#define EOF (-1) + +namespace euler { + struct file_t; +} + +namespace std { + + typedef euler::file_t FILE; + + FILE *fopen(const char *path, const char *mode); + int fclose(FILE *file); + + int fgetc(FILE *from); + int ungetc(int ch, FILE *from); + +} -- cgit v1.2.3