minix3/lib/libsys/sys_clear.c

16 lines
464 B
C
Raw Normal View History

2020-02-21 00:59:27 +05:30
#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));
}