sigpending(2) DG/UX 5.4.2 sigpending(2)
NAME
sigpending - examine pending signals
SYNOPSIS
#include <signal.h>
int sigpending (set)
sigsett *set;
where:
set A structure to which the list of signals are to be written
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.
RETURN VALUE
0 Successful completion.
-1 An error occurred. errno is set to indicate the error.
DIAGNOSTICS
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
sigprocmask(2), sigsetops(3C), <signal.h>.
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) 1