diff --git a/libsrc/common/rewind.c b/libsrc/common/rewind.c new file mode 100644 index 000000000..a4935b4a0 --- /dev/null +++ b/libsrc/common/rewind.c @@ -0,0 +1,16 @@ +/* + * rewind.c + * + * Christian Groessler, 07-Aug-2000 + */ + + +#include + + +void rewind(FILE* f) +{ + fseek(f, 0L, SEEK_SET); + clearerr(f); +} +