COHERENT manpages

This page displays the COHERENT manpage for sigpending() [Examine signals that are blocked and pending].

List of available manpages
Index


sigpending() -- System Call (libc)

Examine signals that are blocked and pending
#include <signal.h>
int sigpending(stash)
sigset_t *stash;

sigpending()  retrieves the  signals  that have  been sent  to the  calling
process but have been blocked  by the calling process's signal mask.  stash
points to the area of memory where the retrieved signals are to be stored.

sigpending() returns zero  if all goes well.  It returns  -1 and sets errno
to EFAULT if stash points outside the process's allocated address space.

See Also

libc,
sigaction(),
signal()
POSIX Standard, §3.3.6