Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigreturn(2) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                             sigreturn(2)



        _________________________________________________________________
        sigreturn                                             System Call
        Restore the signal state.
        _________________________________________________________________


        SYNTAX

        #include <signal.h>

        int     sigreturn (user_context_ptr)
        struct sigcontext     * user_context_ptr;


        PARAMETERS

        user_context_ptr
                       A pointer to the sigcontext structure that was
                       placed on the user's stack when the signal was
                       handled.


        DESCRIPTION

        This function restores the values pushed onto the stack when the
        process's signal handler was invoked (ie. it is a "return from
        signal handler").


        ACCESS CONTROL

        None.


        RETURN VALUE

        If this function succeeds, it does not return.  Execution resumes
        at the point specified by the sigcontext structure.  If an error
        occurs, this function returns -1.


        EXCEPTIONS

        Errno may be set to one of the following error codes:


        EFAULT         The sigcontext structure could not be accessed.


        EINVAL         The sigcontext structure contains invalid
                       information.



        DG/UX 4.00                                                 Page 1
               Licensed material--property of copyright holder(s)





                                                             sigreturn(2)



        SEE ALSO

        ptrace, kill, sigblock, sigsetmask, sigpause sigstack, sigvec.



















































        DG/UX 4.00                                                 Page 2
               Licensed material--property of copyright holder(s)



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026