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