SIGPENDING(2-POSIX) RISC/os Reference Manual SIGPENDING(2-POSIX)
NAME
sigpending - examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending(set)
sigsett *set;
DESCRIPTION
sigpending stores the set of signals that are blocked and
pending for the calling process at the address indicated by
set.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Oth-
erwise, a value of -1 is returned and errno is set to indi-
cate the error.
ERRORS
If the following condition occurs, sigpending will return -1
and set errno to the corresponding value:
[EFAULT] set points outside the process' allo-
cated address space.
SEE ALSO
sigprocmask(2), sigsetops(3).
Printed 1/15/91 Page 1