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