Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigignore(2) — DG/UX 4.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought



                                                             sigignore(2)



        _________________________________________________________________
        sigignore                                             System Call
        Set the signal action of a signal to 'ignore'.
        _________________________________________________________________


        SYNTAX

        #include <signal.h>

        int     sigignore (signal_number)
        int     signal_number;


        PARAMETERS

        signal_number  The signal whose action is to be changed to
                       ignore.


        DESCRIPTION

        Sigignore sets the signal action associated with the specified
        signal to 'ignore' and the signal is removed from the set of
        signals blocked from presentation.  (Any pended signals are also
        effectively discarded because as soon as they are unblocked, they
        are ignored.)

        It is not possible to ignore SIGKILL, SIGSTOP, or SIGCONT (see
        sys/signal.h).  An attempt to ignore these signals will produce
        the error EINVAL.

        This system call performs exactly the same basic operation as the
        'signal', 'sigset', and 'sigvec' system calls with the function
        set to SIG_IGN.  Note, however, that 'sigvec' does NOT remove the
        signal from the set of blocked signals.


        ACCESS CONTROL

        None.


        RETURN VALUE

        0              The operation succeeded.


        -1             The operation failed.





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





                                                             sigignore(2)



        EXCEPTIONS

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


        EINVAL         <Signal_number> is an illegal signal number or a
                       signal that may not be ignored.


        SEE ALSO

        The related system calls:  sigset, sighold, sigrelse, sigignore,
        sigpause









































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



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