Standards / Extensions | C or C++ | Dependencies |
---|---|---|
XPG4.2 |
both |
#define _XOPEN_SOURCE_EXTENDED 1
#include <signal.h>
int sighold(int sig);
The sighold() function provides a simplified method for adding the signal specified by the argument sig to the calling thread's signal mask.
The use of the SIGTHSTOP and SIGTHCONT signal is not supported with this function.
If successful, sighold() returns 0.