ref: b1d89be9c61f4ab4c470dc480077fc90a00c4294 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); }