sigorset
Name
sigorset -- build a new signal set by combining the two input sets using logical OR
Synopsis
int
sigorset
(sigset_t
*set, const sigset_t
*left, const sigset_t
*right);
Description
The sigorset
shall combine the two signal
sets referenced
by left and right,
using a logical OR operation, and shall place the result in the location
referenced by set,
The resulting signal set shall contain only signals that are in either
the set referenced by left or the set referenced by
right.
Return Value
On success, sigorset
shall return 0. Otherise, sigorset
shall return
-1 and set errno to indicate
the error.
Errors
EINVAL
One or more of
set,
left, or
right was a null pointer.