1 #if defined(LIBC_SCCS) && !defined(lint) 2 static char sccsid[] = "@(#)clrerr.c 5.2 (Berkeley) 03/09/86"; 3 #endif LIBC_SCCS and 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