V7/usr/src/libc/stdio/clrerr.c

Compare this file to the similar file:
Show the results in this format:

#include	<stdio.h>

clearerr(iop)
register struct _iobuf *iop;
{
	iop->_flag &= ~(_IOERR|_IOEOF);
}