custom message type for VM_INFO
[minix3.git] / lib / libsys / sys_sigreturn.c
blobaa15786f6ea3eb44c6f38f9bde08d44dc15f237a
1 #include "syslib.h"
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 */
10 message m;
11 int result;
13 m.m_sigcalls.endpt = proc_ep;
14 m.m_sigcalls.sigctx = sig_ctxt;
15 result = _kernel_call(SYS_SIGRETURN, &m);
16 return(result);