shithub: scc

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

View raw version
#include <stdio.h>

#undef clearerr

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