source: trunk/minix/lib/syslib/sys_sigsend.c@ 11

Last change on this file since 11 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 545 bytes
Line 
1#include "syslib.h"
2
3/*===========================================================================*
4 * sys_sigsend *
5 *===========================================================================*/
6PUBLIC int sys_sigsend(proc_nr, sig_ctxt)
7int proc_nr; /* for which process */
8struct sigmsg *sig_ctxt; /* POSIX style handling */
9{
10 message m;
11 int result;
12
13 m.SIG_ENDPT = proc_nr;
14 m.SIG_CTXT_PTR = (char *) sig_ctxt;
15 result = _taskcall(SYSTASK, SYS_SIGSEND, &m);
16 return(result);
17}
18
Note: See TracBrowser for help on using the repository browser.