SIGPENDING(3) Library Functions Manual SIGPENDING(3)

sigpendingexamine pending signals


#include <signal.h>

int sigpending(sigset_t *set);

The sigpending () function shall store, in the location referenced by the argument, the set of signals that are blocked from delivery to the calling thread and that are pending on the process or the calling thread.

Upon successful completion, sigpending () shall return 0; otherwise, -1 shall be returned and set to indicate the error.

No errors are defined.

None.

None.

None.

None.

sigaddset(3), sigdelset(3), sigemptyset(3), sigfillset(3), sigismember(3), sigprocmask(3), the Base Definitions volume of IEEE Std 1003.1-2001 (“POSIX.1”), <signal.h>

First released in Issue 3.

The DESCRIPTION is updated for alignment with the POSIX Threads Extension.

The SYNOPSIS is marked CX since the presence of this function in the <signal.h> header is an extension over the ISO C standard.

footer end

January 1, 2004 posix.fail