Uninitialized vector entry?
[minix3.git] / lib / syslib / sys_sigreturn.c
blob900682e872dbb42f0f332799c77d1a4fa59f0fdc
1 #include "syslib.h"
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 */
10 message m;
11 int result;
13 m.SIG_ENDPT = proc_nr;
14 m.SIG_CTXT_PTR = (char *) sig_ctxt;
15 result = _taskcall(SYSTASK, SYS_SIGRETURN, &m);
16 return(result);