146057Sbostic /*- 2*61178Sbostic * Copyright (c) 1990, 1993 3*61178Sbostic * The Regents of the University of California. All rights reserved. 446057Sbostic * 546057Sbostic * This code is derived from software contributed to Berkeley by 646057Sbostic * Chris Torek. 746057Sbostic * 846057Sbostic * %sccs.include.redist.c% 946057Sbostic */ 1046057Sbostic 1126639Sdonn #if defined(LIBC_SCCS) && !defined(lint) 12*61178Sbostic static char sccsid[] = "@(#)clrerr.c 8.1 (Berkeley) 06/04/93"; 1346057Sbostic #endif /* LIBC_SCCS and not lint */ 1422126Smckusick 1517951Sserge #include <stdio.h> 1617951Sserge #undef clearerr 171997Swnj 1846057Sbostic void clearerr(fp)1946057Sbosticclearerr(fp) 2046057Sbostic FILE *fp; 211997Swnj { 2246057Sbostic __sclearerr(fp); 231997Swnj } 24