sigret(2) DG/UX 5.4.2 sigret(2)
NAME
sigret - restore the process state to that contained in a signal
frame
SYNOPSIS
#include <signal.h>
void sigret ()
DESCRIPTION
The sigret call restores the process state to that contained in a
signal frame pointed to by r31. These values (with the exception of
the four modifiable fields, SXIP, SNIP, SFIP, and r31) must be
identical to the values in a signal frame that was pushed onto the
user's stack when the process's signal handler was invoked (that is,
this is a "return from signal handler").
ACCESS CONTROL
None.
RETURN VALUE
This function never returns. Execution resumes at the point
specified by the sigcontext structure. If an error occurs, this
function terminates the process with an exit status which indicates
that the process was killed by a SIGSEGV signal.
DIAGNOSTICS
Errno may be set to one of the following error codes:
EFAULT The sigcontext structure pointed to by r31 could not be
accessed.
EINVAL The sigcontext structure pointed to by r31 contains invalid
information.
SEE ALSO
kill(2), ptrace(2), sigblock(2), sigpause(2), sigsetmask(2),
sigstack(2), sigvec(2).
Licensed material--property of copyright holder(s) 1