Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_exit.c
blobff8b04fa60dbde29cf79b7f770d7380cd4e0d3c5
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_exit *
5 *===========================================================================*/
6 PUBLIC int sys_exit(proc)
7 int proc; /* which process has exited */
9 /* A process has exited. PM tells the kernel. In addition this call can be
10 * used by system processes to directly exit without passing through the
11 * PM. This should be used with care to prevent inconsistent PM tables.
13 message m;
15 m.PR_ENDPT = proc;
16 return(_taskcall(SYSTASK, SYS_EXIT, &m));