bin/sh/trap.c
void
exitshell(int status)
{
	TRACE(("exitshell(%d) pid=%d\n", status, getpid()));
	exiting = 1;
	exiting_exitstatus = status;
	exitshell_savedstatus();
}
/*
 * Called to exit the shell.
 */
Called to exit the shell.
Called to exit the shell .
void
exitshell(int status)
{
	TRACE(("exitshell(%d) pid=%d\n", status, getpid()));
	exiting = 1;
	exiting_exitstatus = status;
	exitshell_savedstatus();
}
void exitshell ( int status ) { TRACE ( ( " \n " , status , getpid ( ) ) ) ; exiting = 1 ; exiting_exitstatus = status ; exitshell_savedstatus ( ) ; }
Called to exit the shell.
Called to exit the shell .