Add a signal to a set
#include <signal.h> int sigaddset( sigset_t *set, int signo );
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
The sigaddset() function adds signo to the set pointed to by set.
See sigemptyset().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |