Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigpending(2) — sys5 — Apollo Domain/OS SR10.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sigsetops(3)

sigprocmask(2)

signal(4)

SIGPENDING(2)                        SysV                        SIGPENDING(2)



NAME
     sigpending - examines pending signals

SYNOPSIS
     #include <signal.h>

     int sigpending (set)
     sigset_t *set;

DESCRIPTION
     The sigpending function stores the set of signals that are blocked from
     delivery and pending to the calling process in the object pointed to by
     the set argument.

     Applications should call either the sigemptyset(3) or the sigfillset(3)
     function at least once for each object of type sigset_t prior to any
     other use of that object. If such an object is not initialized in this
     way, but is nonetheless supplied as an argument to the sigpending
     function, the results are undefined.

DIAGNOSTICS
     Upon successful completion, the sigpending function returns a value of 0
     (zero).  Otherwise, a value of -1 is returned.

SEE ALSO
     sigsetops(3), sigprocmask(2)

FILES:
     signal(4)

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