sigfillset()
Initialize a set to contain all signals
Synopsis:
#include <signal.h>
int sigfillset( sigset_t *set );
Arguments:
- set
- A pointer to the sigset_t object that you want to initialize.
Library:
libc
Use the -l c option to qcc to link against this library. This library is usually included automatically.
Description:
The sigfillset() function initializes set to contain all signals.
Returns:
- 0
- Success.
- -1
- An error occurred (errno is set).
Examples:
See sigemptyset() .
Classification:
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | Yes |
Signal handler | Yes |
Thread | Yes |