Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ () — Motorola System V 88k Release 3.2 Version 1.2C

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  SIGSETOPS(2P)                                       SIGSETOPS(2P)



  NAME
       sigaddset, sigdelset, sigismember, sigfillset - manipulate
       signal sets

  SYNOPSIS
       #include <signal.h>

       int sigaddset(set,signo)
       sigsett *set;
       int signo;

       int sigdelset(set,signo)
       sigsett *set;
       int signo;

       int sigismember(set,signo)
       sigsett *set;
       int signo;

       int sigfillset(set)
       sigsett *set;

       int siginitset(set)
       sigsett *set;

  DESCRIPTION
       sigaddset adds the signal specified by signo to the set
       pointed to by set.

       sigdelset deletes the signal specified by signo from the set
       pointed to by set.

       This system defines the following signals:
            SIGABRT   SIGTERM   SIGIOT
            SIGALRM   SIGUSR1   SIGEMT
            SIGFPE    SIGUSR2   SIGBUS
            SIGHUP    SIGCHILD  SIGSYS
            SIGILL    SIGCONT   SIGPWR
            SIGINT    SIGSTOP   SIGPOLL
            SIGKILL   SIGTSTP   SIGURG


  Page 1                                                   May 1989


















  SIGSETOPS(2P)                                       SIGSETOPS(2P)



            SIGPIPE   SIGTTIN   SIGWINCH
            SIGQUIT   SIGTTOU   SIGVTALRM
            SIGSEGV   SIGTRAP   SIGPROF

       sigfillset initializes the signal set pointed to by set such
       that all signals listed above are included.

       sigismember tests whether the signal specified by signo is a
       member of the set pointed to by set.  Applications should
       call sigemptyset(3P) or sigfillset(3P) for each object of
       type sigsett before any other use of the object.

  RETURN VALUE
       Upon successful completion, sigismember returns 1 if the
       specified signal is a member of the specified set and zero
       if it is not.  Upon successful completion, each of the other
       functions returns zero. For all the above functions, if an
       error is detected, the function will return -1 and set errno
       to indicate the error.

  ERRORS
       If the following condition occurs, the function shall return
       -1 and set errno to the corresponding value.

       [EINVAL]      The value of signo is not a valid signal
                     number.

  SEE ALSO
       sigaction(2), sigpending(2), sigprocmask(2), sigsuspend(2),
       sigvec(2).












  Page 2                                                   May 1989
















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