Initializes the signal set to include all signals. Format #include <signal.h> int sigfillset (sigset_t *set);
1 – Argument
set The signal set.
2 – Description
The sigfillset function initializes the signal set pointed to by set such that you include all signals. A call to sigemptyset or sigfillset must be made at least once for each object of type sigset_t prior to any other use of that object. This function operates on data objects that you can address by the application, not on any set of signals known to the system. For example, this function does not operate on the set blocked from delivery to a process or the set pending for a process. See also sigemptyset.
3 – Return Values
0 Indicates success. -1 Indicates an error; errno is set to the following value: o EINVAL - The value of the sig_number argument is not a valid signal number.