sigrelse()

remove signal from calling signal mask of process 

Function


SYNOPSIS

#include <signal.h>

int sigrelse(int sig);


DESCRIPTION

The sigrelse() function removes sig from the calling signal mask of the process.

You can use sighold() and sigrelse() to establish critical regions of code that require the delivery of a signal to be temporarily deferred.


PARAMETERS

sig 

Specifies the signal, which may be any signal except SIGKILL or SIGSTOP.


RETURN VALUES

If successful, sigrelse() returns zero. On failure, it returns -1 and sets errno to one of the following values:

EINTR 

A signal interrupted the call.

EINVAL 

sig is not a valid signal or is equal to SIGKILL or SIGSTOP.


CONFORMANCE

UNIX 98.


MULTITHREAD SAFETY LEVEL

MT-Safe.


PORTING ISSUES

None.


AVAILABILITY

PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition


SEE ALSO

api_intro

Functions:
kill(), pause(), sigaction(), sighold(), sigignore(), signal(), sigpause(), sigset()


PTC MKS Toolkit 10.3 Documentation Build 39.