clearerr X
1: #include <stdio.h> 2: 3: clearerr(iop) 4: register struct _iobuf *iop; 5: { 6: iop->_flag &= ~(_IOERR|_IOEOF); 7: }