3 /*===========================================================================*
5 *===========================================================================*/
6 PUBLIC
int sys_exit(proc
)
7 int proc
; /* which process has exited */
9 /* A process has exited. PM tells the kernel. In addition this call can be
10 * used by system processes to directly exit without passing through the
11 * PM. This should be used with care to prevent inconsistent PM tables.
16 return(_taskcall(SYSTASK
, SYS_EXIT
, &m
));