sigret(2) DG/UX 4.30 sigret(2)
NAME
sigret - Restore the process state to that contained in a
signal frame.
SYNOPSIS
#include <signal.h>
void sigret ()
PARAMETERS
None.
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.
EXCEPTIONS
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
ptrace, kill, sigblock, sigsetmask, sigpause sigstack,
sigvec.
Licensed material--property of copyright holder(s) Page 1