xref: /minix/minix/lib/libsys/sys_sigreturn.c (revision 7f5f010b)
1 #include "syslib.h"
2 
3 /*===========================================================================*
4  *                                sys_sigreturn				     *
5  *===========================================================================*/
6 int sys_sigreturn(proc_ep, sig_ctxt)
7 endpoint_t proc_ep;			/* for which process */
8 struct sigmsg *sig_ctxt;		/* POSIX style handling */
9 {
10     message m;
11     int result;
12 
13     m.m_sigcalls.endpt = proc_ep;
14     m.m_sigcalls.sigctx = sig_ctxt;
15     result = _kernel_call(SYS_SIGRETURN, &m);
16     return(result);
17 }
18 
19