/********************************************************************** * Copyright (c) Digital Equipment Corporation 1984, 1985, 1986. * * All Rights Reserved. * * Reference "/usr/src/COPYRIGHT" for applicable restrictions. * **********************************************************************/ static char Sccsid[]="@(#)giveup.c 3.0 4/22/86"; /* Chdir to "/" if argument is 0. Set IOT signal to system default. Call abort(III). (Shouldn't produce a core when called with a 0 argument.) */ # include "signal.h" giveup(dump) { if (!dump) chdir("/"); signal(SIGIOT,0); abort(); }