minix/lib/syslib/sys_sigreturn.c
Jorrit Herder 654722493b Renamed various system calls.
Cleaned up system call library.
Added new alert() trap to replace notify() --- current notify will be removed
and alert() will be called notify() later.
2005-07-14 15:13:33 +00:00

20 lines
627 B
C
Executable file

#include "syslib.h"
/*===========================================================================*
* sys_sigreturn *
*===========================================================================*/
PUBLIC int sys_sigreturn(proc_nr, sig_ctxt, flags)
int proc_nr; /* for which process */
struct sigmsg *sig_ctxt; /* POSIX style handling */
int flags; /* flags for POSIX handling */
{
message m;
int result;
m.SIG_PROC = proc_nr;
m.SIG_CTXT_PTR = (char *) sig_ctxt;
m.SIG_FLAGS = flags;
result = _taskcall(SYSTASK, SYS_SIGRETURN, &m);
return(result);
}