ref: e3681c9739152eb69f934a68b02885eaaaec0aaa dir: /src/libc/stdio/rewind.c/
#include <stdio.h> #undef rewind void rewind(FILE *fp) { fp->flags &= ~_IOERR; fseek(fp, 0, SEEK_SET); clearerr(fp); }