__aeabi_ldivmod: fix sign logic
[minix.git] / lib / libsys / sys_kill.c
blob71b84505ebc7c6763060f940d87d87dbcc21a2de
1 #include "syslib.h"
3 int sys_kill(proc_ep, signr)
4 endpoint_t proc_ep; /* which proc_ep has exited */
5 int signr; /* signal number: 1 - 16 */
7 /* A proc_ep has to be signaled via PM. Tell the kernel. */
8 message m;
10 m.SIG_ENDPT = proc_ep;
11 m.SIG_NUMBER = signr;
12 return(_kernel_call(SYS_KILL, &m));