1 #ifndef lint 2 static char sccsid[] = "@(#)clrerr.c 5.1 (Berkeley) 06/05/85"; 3 #endif not lint 4 5 #include <stdio.h> 6 #undef clearerr 7 8 clearerr(iop) 9 register FILE *iop; 10 { 11 iop->_flag &= ~(_IOERR|_IOEOF); 12 } 13