xref: /minix3/minix/lib/libsys/sys_clear.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1*433d6423SLionel Sambuc #include "syslib.h"
2*433d6423SLionel Sambuc 
3*433d6423SLionel Sambuc /*===========================================================================*
4*433d6423SLionel Sambuc  *                                sys_clear			     	     *
5*433d6423SLionel Sambuc  *===========================================================================*/
sys_clear(proc_ep)6*433d6423SLionel Sambuc int sys_clear(proc_ep)
7*433d6423SLionel Sambuc endpoint_t proc_ep;			/* which process has exited */
8*433d6423SLionel Sambuc {
9*433d6423SLionel Sambuc /* A process has exited. PM tells the kernel.
10*433d6423SLionel Sambuc  */
11*433d6423SLionel Sambuc   message m;
12*433d6423SLionel Sambuc 
13*433d6423SLionel Sambuc   m.m_lsys_krn_sys_clear.endpt = proc_ep;
14*433d6423SLionel Sambuc   return(_kernel_call(SYS_CLEAR, &m));
15*433d6423SLionel Sambuc }
16