xref: /csrg-svn/lib/libc/stdio/clrerr.c (revision 1997)
1*1997Swnj /* @(#)clrerr.c	4.1 (Berkeley) 12/21/80 */
2*1997Swnj #include	<stdio.h>
3*1997Swnj 
4*1997Swnj clearerr(iop)
5*1997Swnj register struct _iobuf *iop;
6*1997Swnj {
7*1997Swnj 	iop->_flag &= ~(_IOERR|_IOEOF);
8*1997Swnj }
9