source: trunk/minix/lib/syslib/sys_sigreturn.c@ 9

Last change on this file since 9 was 9, checked in by Mattia Monga, 13 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 *===========================================================================*/
6PUBLIC int sys_sigreturn(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_SIGRETURN, &m);
16 return(result);
17}
18
Note: See TracBrowser for help on using the repository browser.