1*46057Sbostic /*- 2*46057Sbostic * Copyright (c) 1990 The Regents of the University of California. 3*46057Sbostic * All rights reserved. 4*46057Sbostic * 5*46057Sbostic * This code is derived from software contributed to Berkeley by 6*46057Sbostic * Chris Torek. 7*46057Sbostic * 8*46057Sbostic * %sccs.include.redist.c% 9*46057Sbostic */ 10*46057Sbostic 1126639Sdonn #if defined(LIBC_SCCS) && !defined(lint) 12*46057Sbostic static char sccsid[] = "@(#)clrerr.c 5.3 (Berkeley) 01/20/91"; 13*46057Sbostic #endif /* LIBC_SCCS and not lint */ 1422126Smckusick 1517951Sserge #include <stdio.h> 1617951Sserge #undef clearerr 171997Swnj 18*46057Sbostic void 19*46057Sbostic clearerr(fp) 20*46057Sbostic FILE *fp; 211997Swnj { 22*46057Sbostic __sclearerr(fp); 231997Swnj } 24