version 1.11.8.5, 2002/08/01 03:28:11 |
version 1.11.8.6, 2002/10/18 02:16:02 |
|
|
.Pp |
.Pp |
Signals allow the manipulation of a process from outside its |
Signals allow the manipulation of a process from outside its |
domain as well as allowing the process to manipulate itself or |
domain as well as allowing the process to manipulate itself or |
copies of itself (children). There are two general types of signals: |
copies of itself (children). |
|
There are two general types of signals: |
those that cause termination of a process and those that do not. |
those that cause termination of a process and those that do not. |
Signals which cause termination of a program might result from |
Signals which cause termination of a program might result from |
an irrecoverable error or might be the result of a user at a terminal |
an irrecoverable error or might be the result of a user at a terminal |
|
|
signals, the |
signals, the |
.Fn signal |
.Fn signal |
function allows for a signal to be caught, to be ignored, or to generate |
function allows for a signal to be caught, to be ignored, or to generate |
an interrupt. See |
an interrupt. |
|
See |
.Xr signal 7 |
.Xr signal 7 |
for comprehensive list of supported signals. |
for comprehensive list of supported signals. |
.Pp |
.Pp |
Line 100 To ignore the signal |
|
Line 102 To ignore the signal |
|
should be |
should be |
.Dv SIG_IGN . |
.Dv SIG_IGN . |
This will cause subsequent instances of the signal to be ignored |
This will cause subsequent instances of the signal to be ignored |
and pending instances to be discarded. If |
and pending instances to be discarded. |
|
If |
.Dv SIG_IGN |
.Dv SIG_IGN |
is not used, |
is not used, |
further occurrences of the signal are |
further occurrences of the signal are |