From: cpg Date: Fri, 11 Aug 2000 21:51:03 +0000 (+0000) Subject: initial check-in X-Git-Tag: V2.12.0~3246 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d6a3b84948391f622ca6c29d7e33e307145a1d5f;p=cc65 initial check-in git-svn-id: svn://svn.cc65.org/cc65/trunk@274 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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); +} +