| Line | |
|---|
| 1 | #include "syslib.h"
|
|---|
| 2 |
|
|---|
| 3 | /*===========================================================================*
|
|---|
| 4 | * sys_sigsend *
|
|---|
| 5 | *===========================================================================*/
|
|---|
| 6 | PUBLIC int sys_sigsend(proc_nr, sig_ctxt)
|
|---|
| 7 | int proc_nr; /* for which process */
|
|---|
| 8 | struct 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.