sigpending(2) DG/UX 4.30 sigpending(2)
NAME
sigpending - Examine pending signals.
SYNOPSIS
#include <signal.h>
int sigpending (set)
sigset_t *set;
DESCRIPTION
The sigpending() function shall store the set of signals
that are blocked from delivery and pending for the calling
process, in the space pointed to by the argument set.
RETURNS
Upon successful completion a value of zero is returned.
Otherwise, a value of -1 is returned and errno is set to
indicate the error.
ERRORS
This standard does not specify any error conditions that are
required to be detected for the sigpending() function. Some
errors may be detected under implementation-defined
conditions.
SEE ALSO
<signal.h>, sigprocmask(2), sigsetops(3)
COPYRIGHTS
Portions of this text are reprinted from IEEE Std 1003.1-
1988, Portable Operating System Interface for Computer
Environment, copyright © 1988 by the Institute of Electrical
and Electronics Engineers, Inc., with the permission of the
IEEE Standards Department. To purchase IEEE Standards, call
800/678-IEEE.
In the event of a discrepancy between the electronic and the
original printed version, the original version takes
precedence.
STANDARDS
The EFAULT error will be generated if the argument set
specifies an invalid error of the calling process's address
space, or an address area which does not have write access.
Licensed material--property of copyright holder(s) Page 1