|This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.|
Examine the set of pending, masked signals for a process
#include <signal.h> int sigpending( sigset_t *set );
- A pointer to a sigset_t object that the function sets to indicate the pending, masked signals.
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The sigpending() function is used to examine the set of pending signals that are masked (blocked) from delivery to the calling thread and that are pending on the calling process or thread. They're saved in the signal set pointed to by set.
- An error occurred (errno is set).
- A fault occurred while accessing the buffer pointed to by set.