sigorset

Name

sigorset -- build a new signal set by combining the two input sets using logical OR

Synopsis

#include <signal.h>

int sigorset(sigset_t * set, const sigset_t * left, const sigset_t * right);

Description

The sigorset() function 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.

Applications shall call sigemptyset() or sigfillset() at least once for each object of type sigset_t to initialize it. If an uninitialized or NULL object is passed to sigorset(), the results are undefined.

Return Value

sigorset() returns 0. There are no defined error returns.

See Also

sigandset()