minix/lib/syslib/sys_kill.c
Ben Gras 5d7f5fccf5 . rename message fields to endpoint variants
. remove or optionalify some pci debugging stuff
2006-03-03 09:44:55 +00:00

14 lines
302 B
C
Executable file

#include "syslib.h"
PUBLIC int sys_kill(proc, signr)
int proc; /* which proc has exited */
int signr; /* signal number: 1 - 16 */
{
/* A proc has to be signaled via MM. Tell the kernel. */
message m;
m.SIG_ENDPT = proc;
m.SIG_NUMBER = signr;
return(_taskcall(SYSTASK, SYS_KILL, &m));
}