/*- * Copyright (c) 1979, 1993 * The Regents of the University of California. All rights reserved. * * %sccs.include.redist.c% */ #ifndef lint static char sccsid[] = "@(#)CATCHERR.c 8.1 (Berkeley) 06/06/93"; #endif /* not lint */ #include "h00vars.h" CATCHERR(err, todo) long err; /* error to be caught */ struct formalrtn todo; /* procedure to call to catch error */ { if (todo.fbn == 1) _entry[err].fentryaddr = todo.fentryaddr; else fputs("procedure not at level 1", stderr); }