sigpending

examine the set of pending, masked signals for a process

Synopsis:

#include <signal.h>
int sigpending( sigset_t *set );

Description:

The sigpending() function is used to examine the set of pending signals that are masked (blocked) from delivery for the calling process. They are saved in the space pointed to by set.

Returns:

0
Success
(-1)
An error occurred. errno is set to indicate the error.

Errors:

At this time, there are no known reasons for sigpending() to fail.

See also:

kill(), raise(), sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), sigismember(), signal(), sigprocmask()

Examples:

See sigprocmask().

Classification:

POSIX 1003.1

Systems:

QNX