/*- * Copyright (c) 1980 The Regents of the University of California. * All rights reserved. * * This module is believed to contain source code proprietary to AT&T. * Use and redistribution is subject to the Berkeley Software License * Agreement and your Software Agreement with AT&T (Western Electric). */ #ifndef lint static char sccsid[] = "@(#)exit_.c 5.2 (Berkeley) 4/12/91"; #endif /* not lint */ exit_(n) long *n; { int exitcode; #if vax if (nargs() == 0) exitcode = 0; else #endif vax exitcode = *n; /* take any segmentation violation here */ f_exit(); _cleanup(); exit(exitcode); }