xref: /csrg-svn/lib/libc/stdio/clrerr.c (revision 26639)
1*26639Sdonn #if defined(LIBC_SCCS) && !defined(lint)
2*26639Sdonn static char sccsid[] = "@(#)clrerr.c	5.2 (Berkeley) 03/09/86";
3*26639Sdonn #endif LIBC_SCCS and not lint
422126Smckusick 
517951Sserge #include <stdio.h>
617951Sserge #undef	clearerr
71997Swnj 
81997Swnj clearerr(iop)
917951Sserge 	register FILE *iop;
101997Swnj {
111997Swnj 	iop->_flag &= ~(_IOERR|_IOEOF);
121997Swnj }
13