sigpending(3-thr) sigpending(3-thr)
NAME
sigpending - examines pending signals (POSIX software signal facili-
ties)
SYNOPSIS
#include <signal.h>
int sigpending(sigsett *set);
PARAMETERS
set Points to a location in which the signals that are blocked
from delivery and pending at the time of the sigpending()
function call are returned.
DESCRIPTION
The sigpending() function stores the set of signals that are blocked
from delivery and pending for the calling process in the space pointed
to by the argument set.
The sigpending() function may be called by any thread in a multi-
threaded process to determine which signals are in the pending set for
that thread. Since DCE Threads supports the
{POSIXTHREADSPERPROCESSSIGNALS1} option, signals pending upon
the thread are those that are pending upon the process.
RETURN VALUES
Possible return values are as follows:
EFAULT The set argument points to memory that is not a valid part
of the process address space.
SEE ALSO
sigprocmask(3-thr), sigsetops(3C), signal(5).
Page 1 Reliant UNIX 5.44 Printed 11/98