4.3BSD/usr/src/usr.lib/libpc/CATCHERR.c

Compare this file to the similar file:
Show the results in this format:

/* Copyright (c) 1979 Regents of the University of California */

static char sccsid[] = "@(#)CATCHERR.c 1.2 4/1/81";

#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);
}