shithub: scc

ref: d4eb944af8f3300db2c7683dec0f8d1fb431560c
dir: /src/libc/stdio/clearerr.c/

View raw version
#include <stdio.h>

#undef clearerr

void
clearerr(FILE *fp)
{
	fp->flags &= ~(_IOERR | _IOEOF);
}