/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ /* * SCCSID: @(#)clrerr.c 3.0 4/22/86 */ /* (System 5) clrerr.c 1.3 */ /* 3.0 SID # 1.2 */ /*LINTLIBRARY*/ #include <stdio.h> #undef clearerr void clearerr(iop) register FILE *iop; { iop->_flag &= ~(_IOERR | _IOEOF); }