Lines Matching +full:loss +full:- +full:of +full:- +full:signal

2 .\"	The Regents of the University of California.  All rights reserved.
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\" notice, this list of conditions and the following disclaimer.
10 .\" notice, this list of conditions and the following disclaimer in the
12 .\" 3. Neither the name of the University nor the names of its contributors
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd software signal facilities
38 .Bd -literal
48 .Bf -symbolic
53 The system defines a set of signals that may be delivered to a process.
54 Signal delivery resembles the occurrence of a hardware interrupt:
55 the signal is blocked from further occurrence, the current process
59 to which a signal is delivered, or specify that a signal is to be
64 by the system when a signal occurs.
65 Normally, signal handlers execute on the current stack
67 This may be changed, on a per-handler basis,
69 .Em "signal stack" .
73 Signal routines execute with the signal that caused their
78 .Em "signal mask"
79 defines the set of signals currently blocked from delivery
81 The signal mask for a process is initialized
82 from that of its parent (normally 0).
88 call, or when a signal is delivered to the process.
90 When a signal
91 condition arises for a process, the signal is added to a set of
93 If the signal is not currently
96 When a signal
97 is delivered, the current state of the process is saved,
98 a new signal mask is calculated (as described below),
99 and the signal handler is invoked.
101 is arranged so that if the signal handling routine returns
103 from before the signal's delivery.
107 When a signal is delivered to a process a new signal mask is
108 installed for the duration of the process' signal handler
114 This mask is formed by taking the current signal mask,
115 adding the signal to be delivered, and
117 in the signal mask associated with the handler to be invoked.
122 assigns a handler for a specific signal.
125 is non-zero, it
127 to be used when delivering the specified signal.
132 the system will deliver the signal to the process on a
133 .Em "signal stack" ,
138 is non-zero, the previous handling information for the signal
141 The following is a list of all signals
144 .Bl -column SIGVTALARMXX "create core imagexxx"
155 .It Dv SIGFPE No " create core image" " floating-point exception"
159 .It Dv SIGSYS No " create core image" " non-existent system call invoked"
161 .It Dv SIGALRM No " terminate process" " real-time timer expired"
162 .It Dv SIGTERM No " terminate process" " software termination signal"
163 .It Dv SIGURG No " discard signal" " urgent condition present on socket"
165 .It Dv SIGTSTP No " stop process" " stop signal generated from keyboard"
166 .It Dv SIGCONT No " discard signal" " continue after stop"
167 .It Dv SIGCHLD No " discard signal" " child status has changed"
170 .It Dv SIGIO No " discard signal" Tn " I/O"
181 .It Dv SIGWINCH No " discard signal" " Window size change"
182 .It Dv SIGINFO No " discard signal" " status request from keyboard"
183 .It Dv SIGUSR1 No " terminate process" " User defined signal 1"
184 .It Dv SIGUSR2 No " terminate process" " User defined signal 2"
187 Once a signal handler is installed, it remains installed
193 A signal-specific default action may be reset by
200 See the above signal list for each signal's default action.
206 of the signal are ignored and discarded.
208 If a signal is caught during the system calls listed below,
237 all signals, the signal mask, the signal stack,
246 the signal mask remains the same;
263 .Rv -std sigvec
266 .Tn VAX\-11
268 .Bd -literal -offset indent
276 is the signal number, into which the hardware faults and traps are
296 used to restore the context from before the signal.
301 will fail and no new signal handler will be installed if one
303 .Bl -tag -width Er
309 points to memory that is not a valid part of the process
315 is not a valid signal number.
335 .Xr signal 3 ,