Syntax | #include <signal.h> int sigprocmask(int how, const sigset_t *set, sigset_t *oset); | |||||||
Description |
If set is not a null pointer, it points to a set of signals to be used to change the currently blocked set. how indicates the way in which the set is to be changed, and can assume of one of the following values (see also
If oset is not a null pointer, the previous mask is stored in the location pointed to by oset. If set is a null pointer, the value of the argument how is not significant and the process signal mask is unchanged; thus the call can be used to enquire about currently blocked signals. If there are any pending unblocked signals after the call to It is not possible to block those signals which cannot be ignored (see If any of the If
| |||||||
Return val. | 0 | if successful. | ||||||
-1 | if an error occurs. | |||||||
Errors |
| |||||||
|
| The value of how does not correspond to any of permitted value. | ||||||
| Extension | |||||||
|
| set or oset points beyond the allocated process address space. (End) | ||||||
Siehe auch |
|