SIGBLOCK

Section: C Library Functions (3)
Index Return to Main Contents

BSD mandoc
BSD 4.2  

NAME

sigblock - block signals  

SYNOPSIS

Fd #include <signal.h> Ft int Fn sigblock int mask Ft int Fn sigmask signum  

DESCRIPTION

Bf -symbolic This interface is made obsolete by: Ef sigprocmask(2).

Fn Sigblock adds the signals specified in Fa mask to the set of signals currently being blocked from delivery. Signals are blocked if the corresponding bit in Fa mask is a 1; the macro Fn sigmask is provided to construct the mask for a given Fa signum .

It is not possible to block SIGKILL or SIGSTOP this restriction is silently imposed by the system.  

RETURN VALUES

The previous set of masked signals is returned.  

SEE ALSO

kill(2), sigprocmask(2), sigaction(2), sigsetmask(2), sigsetops(3)  

HISTORY

The Fn sigblock function call appeared in BSD 4.2 and has been deprecated.


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES
SEE ALSO
HISTORY

This document was created by man2html, using the manual pages.
Time: 21:44:08 GMT, August 05, 2022