xref: /titanic_51/usr/src/lib/libast/common/man/sig.3 (revision a31148363f598def767ac48c5d82e1572e44b935)
.fp 5 CW .. .nr ;G \\n(.f .Af "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" "\\$8" "\\$9" \\*(;G .. .aF 5 \\n(.f "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 5 1 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" .. .aF 1 5 "\\$1" "\\$2" "\\$3" "\\$4" "\\$5" "\\$6" "\\$7" ..

0

..

..

SIG 3
NAME
sig - signal interface routines
SYNOPSIS
.L "#include <ast.h>" .L "#include <sig.h>" .L "int sigunblock(int sig);" .L "int sigcritical(int op);"
DESCRIPTION
.L sigunblock is called to unblocks the signal .L sig from within a handler currently servicing .LR sig .

.L sigcritical controls a critical region for the .LR SIGINT , .L SIGQUIT and .L SIGHUP signals. .L "op > 0" pushes the region, .L "op == 0" pops the region, and .L "op < 0" returns non-zero if any signals are being held in the current critical region. Signal critical regions may be nested. The current critical region level is returned, .L -1 on error.

"SEE ALSO"
signal(2)