sigdelset

Deletes a specified individual signal.

Format

#include  <signal.h>

int sigdelset  (sigset_t *set, int sig_number;)

Arguments

set
The signal set.
sig_number
The individual signal.

Description

The sigdelset function deletes the individual signal specified by sig_number from the signal set specified 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. 
-1  Indicates an error; errno is set to one of the following values:

  • EINVAL - The value of sig_number is not a valid signal number.
 


Previous Page | Next Page | Table of Contents | Index