move benchmarks to their own dir.
[minix.git] / lib / syslib / sys_sigsend.c
blob94faaeb600b7f286ba32727ca56b5ef15fbae164
1 #include "syslib.h"
3 /*===========================================================================*
4 * sys_sigsend *
5 *===========================================================================*/
6 PUBLIC 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 = _taskcall(SYSTASK, SYS_SIGSEND, &m);
16 return(result);