1*25783Smckusick /* 2*25783Smckusick * Copyright (c) 1980 Regents of the University of California. 3*25783Smckusick * All rights reserved. The Berkeley software License Agreement 4*25783Smckusick * specifies the terms and conditions for redistribution. 5*25783Smckusick */ 6*25783Smckusick 7*25783Smckusick #ifndef lint 8*25783Smckusick static char sccsid[] = "@(#)setjmperr.c 5.1 (Berkeley) 01/09/86"; 9*25783Smckusick #endif not lint 10*25783Smckusick 11*25783Smckusick #define ERRMSG "longjmp botch\n" 12*25783Smckusick 13*25783Smckusick /* 14*25783Smckusick * This routine is called from longjmp() when an error occurs. 15*25783Smckusick * Programs that wish to exit gracefully from this error may 16*25783Smckusick * write their own versions. 17*25783Smckusick * If this routine returns, the program is aborted. 18*25783Smckusick */ 19*25783Smckusick longjmperror() 20*25783Smckusick { 21*25783Smckusick 22*25783Smckusick write(2, ERRMSG, sizeof(ERRMSG)); 23*25783Smckusick } 24