Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sigblock(2) — CX/UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

kill(2)

sigvec(2)

sigsetmask(2)

sigpause(2)

sigstack(2)

signal(5)

sigblock(2)  —  4 BSD

NAME

sigblock − block signals

SYNOPSIS

int sigblock (mask)
int mask;

DESCRIPTION

sigblock causes the signals specified in mask to be added to the set of signals currently being blocked from delivery.  Signal i is blocked if the i-th bit in mask is a 1. 

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

The SIGCONT signal shall continue a stopped process, even if SIGCONT is blocked (or ignored).  However, if a signal-catching routine has been established for SIGCONT, it will not be entered until SIGCONT is unblocked. 

RETURN VALUE

The previous set of masked signals is returned. 

SEE ALSO

kill(2), sigvec(2), sigsetmask(2), sigpause(2), sigstack(2), signal(5). 

CX/UX Programmer’s Reference Manual

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026