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