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