minix/lib/syslib/sys_xit.c
2005-06-24 16:19:41 +00:00

17 lines
614 B
C
Executable file

#include "syslib.h"
/*===========================================================================*
* sys_xit *
*===========================================================================*/
PUBLIC int sys_xit(proc)
int proc; /* which process has exited */
{
/* A process has exited. PM tells the kernel. In addition this call can be
* used by system processes to directly exit without passing through the
* PM. This should be used with care to prevent inconsistent PM tables.
*/
message m;
m.PR_PROC_NR = proc;
return(_taskcall(SYSTASK, SYS_XIT, &m));
}