minix/lib/syslib/sys_xit.c

18 lines
516 B
C
Raw Normal View History

2005-04-21 16:53:53 +02:00
#include "syslib.h"
/*===========================================================================*
* sys_xit *
*===========================================================================*/
PUBLIC int sys_xit(parent, proc)
int parent; /* parent of exiting process */
int proc; /* which process has exited */
{
/* A process has exited. Tell the kernel. */
message m;
m.PR_PPROC_NR = parent;
m.PR_PROC_NR = proc;
return(_taskcall(SYSTASK, SYS_XIT, &m));
}