1 /* The kernel call implemented in this file:
5 #include "kernel/system.h"
7 #include <minix/endpoint.h>
12 /*===========================================================================*
14 *===========================================================================*/
15 PUBLIC
int do_exit(struct proc
* caller
, message
* m_ptr
)
17 /* Handle sys_exit. A system process has requested to exit. Generate a
18 * self-termination signal.
22 cause_sig(caller
->p_nr
, sig_nr
); /* send a signal to the caller */
24 return(EDONTREPLY
); /* don't reply */