xref: /csrg-svn/lib/libc/stdio/clrerr.c (revision 22126)
1*22126Smckusick #ifndef lint
2*22126Smckusick static char sccsid[] = "@(#)clrerr.c	5.1 (Berkeley) 06/05/85";
3*22126Smckusick #endif not lint
4*22126Smckusick 
517951Sserge #include <stdio.h>
617951Sserge #undef	clearerr
71997Swnj 
81997Swnj clearerr(iop)
917951Sserge 	register FILE *iop;
101997Swnj {
111997Swnj 	iop->_flag &= ~(_IOERR|_IOEOF);
121997Swnj }
13