[Previous]
[Contents]
[Next]

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're 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.

Examples:

See sigprocmask().

Classification:

POSIX 1003.1

Safety:
Interrupt handler No
Signal handler Yes, but modifies errno
Thread Yes

See also:

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


[Previous]
[Contents]
[Next]