sigismember

Tests whether a specified signal is a member of the signal set.

Format

#include  <signal.h>

int sigismember  (const sigset_t *set, int
                 sig_number);

Arguments

set
The signal set.
sig_number
The individual signal.

Description

The sigismember function tests whether sig_number is a member of the signal set pointed to by set.

This function operates on data objects that you can address by the application, not on any set of signals known to the system. For example, this function does not operate on the set blocked from delivery to a process or the set pending for a process.

Return Values
Indicates success. The specified signal is a member of the specified set. 
Indicates an error. The specified signal is not a member of the specified set. 


Previous Page | Next Page | Table of Contents | Index