[Previous]
[Contents]
[Next]

sigismember()

see if a given signal is in a given set

Synopsis:

#include <signal.h>
int sigismember( sigset_t *set, int signo );

Description:

The sigismember() function tests if signo is in the set pointed to by set.

Returns:

1 if signo is in the set, and zero if it isn't. On error, -1 is returned, and errno is set.

Errors:

EINVAL
The signal signo isn't valid.

Examples:

See sigemptyset().

Classification:

POSIX 1003.1

Safety:
Interrupt handler Yes
Signal handler Yes, but modifies errno
Thread Yes

See also:

errno, kill(), raise(), sigaction(), sigaddset(), sigdelset(), sigemptyset(), sigfillset(), signal(), sigpending(), sigprocmask()


[Previous]
[Contents]
[Next]