1 #include "defs.h"
2 
SYS_FUNC(exit)3 SYS_FUNC(exit)
4 {
5 	if (exiting(tcp)) {
6 		error_msg("_exit returned!");
7 		return -1;
8 	}
9 	/* special case: we stop tracing this process, finish line now */
10 	tprintf("%ld) ", tcp->u_arg[0]);
11 	tabto();
12 	tprints("= ?\n");
13 	line_ended();
14 	return 0;
15 }
16