minix/lib/libsys/sys_clear.c
Lionel Sambuc 5277fbe9f6 Message type for SYS_CLEAR
Change-Id: I3d894edcf672d180aee38fd84bd06339bdf7fa9b
2014-07-28 17:05:49 +02:00

15 lines
464 B
C

#include "syslib.h"
/*===========================================================================*
* sys_clear *
*===========================================================================*/
int sys_clear(proc_ep)
endpoint_t proc_ep; /* which process has exited */
{
/* A process has exited. PM tells the kernel.
*/
message m;
m.m_lsys_krn_sys_clear.endpt = proc_ep;
return(_kernel_call(SYS_CLEAR, &m));
}