aboutsummaryrefslogtreecommitdiffstats
path: root/io/rewind.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/rewind.c')
-rw-r--r--io/rewind.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/io/rewind.c b/io/rewind.c
new file mode 100644
index 0000000..9e0d2ee
--- /dev/null
+++ b/io/rewind.c
@@ -0,0 +1,4 @@
+#define NO_OPAQUE_TYPE
+#include "io.h"
+
+void rewind(FILE *stream) { fseek(stream, 0L, SEEK_SET); }