|
Last change
on this file since 17 was 9, checked in by Mattia Monga, 15 years ago |
|
Minix 3.1.2a
|
-
Property svn:executable
set to
*
|
|
File size:
551 bytes
|
| Line | |
|---|
| 1 | #include "syslib.h"
|
|---|
| 2 |
|
|---|
| 3 | /*===========================================================================*
|
|---|
| 4 | * sys_sigreturn *
|
|---|
| 5 | *===========================================================================*/
|
|---|
| 6 | PUBLIC int sys_sigreturn(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_SIGRETURN, &m);
|
|---|
| 16 | return(result);
|
|---|
| 17 | }
|
|---|
| 18 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.