/*
 *			c l e a r e . c
 */

/*)LIBRARY
*/

#ifdef	DOCUMENTATION

title	clearerr	Clear File Error Conditions
index			Clear file error conditions

synopsis
	s.nf
	clearerr(iop);
	FILE		*iop;
	.s.f
Description

	Cleare file error conditions.

Bugs

#endif

#include	<stdio.h>
#ifdef	clearerr
#undef	clearerr
#endif

clearerr(fd)
FILE	*fd;
/*
 * Clear error conditions
 */
{
	fd->_flag &= ~(_IOERR | _IOEOF);
}
