| Main index | Section 3 | 日本語 | Deutsch | Options |
#include <signal.h>
The sigemptyset() function initializes a signal set to be empty.
The sigfillset() function initializes a signal set to contain all signals.
The sigaddset() function adds the specified signal signo to the signal set.
The sigandset() function sets the specified set to the logical AND of all signals from the left and right signal sets.
The sigdelset() function deletes the specified signal signo from the signal set.
The sigisemptyset() function returns whether the specified set is empty or not.
The sigismember() function returns whether a specified signal signo is contained in the signal set.
The sigorset() function sets the specified set to the logical OR of all signals from the left and right signal sets.
The sigismember() function returns 1 if the signal is a member of the set, 0 otherwise.
The other functions return 0 upon success. A -1 return value indicates an error occurred and the global variable errno is set to indicate the reason.
| [EINVAL] | |
| signo has an invalid value. | |
The rest of these functions are defined by IEEE Std 1003.1-88 ("POSIX.1").
| SIGSETOPS (3) | October 29, 2019 |
| Main index | Section 3 | 日本語 | Deutsch | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |