sigpending()

get pending signals 

Function


SYNOPSIS

#include <signal.h>

int sigpending(sigset_t *set);


DESCRIPTION

The sigpending() function examines signals that are blocked and pending. Specifically, sigpending() retrieves those signals that have been sent to the calling process but are being blocked from delivery by the calling process's signal mask. The signals are stored in set.


PARAMETERS

set 

Is a return pointer to the set of pending signals.


RETURN VALUES

If successful, sigpending() returns zero. On failure, it returns -1 and sets errno to one of the following values:

EFAULT 

set is an invalid pointer.


CONFORMANCE

POSIX.1 (1996).


MULTITHREAD SAFETY LEVEL

Async-signal-safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

Functions:
pthread_sigmask(), sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), signal(), sigpending(), sigprocmask(), sigsuspend()


PTC MKS Toolkit 10.3 Documentation Build 39.