__aeabi_ldivmod: fix sign logic
[minix.git] / lib / libsys / sys_sigsend.c
blob90683a5922857df0cde75a28f79dba5a0f8d0fd8
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_sigsend *
5 *===========================================================================*/
6 int sys_sigsend(proc_ep, sig_ctxt)
7 endpoint_t proc_ep; /* for which process */
8 struct sigmsg *sig_ctxt; /* POSIX style handling */
10 message m;
11 int result;
13 m.SIG_ENDPT = proc_ep;
14 m.SIG_CTXT_PTR = (char *) sig_ctxt;
15 result = _kernel_call(SYS_SIGSEND, &m);
16 return(result);