Lines Matching +full:2 +full:a
9 .\" 2. Redistributions in binary form must reproduce the above copyright
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
28 .Dd April 2, 2022
50 .Xr sigaction 2 .
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:
56 context is saved, and a new one is built.
57 A process may specify a
59 to which a signal is delivered, or specify that a signal is to be
63 A process may also specify that a default action is to be taken
64 by the system when a signal occurs.
67 This may be changed, on a per-handler basis,
68 so that signals are taken on a special
77 A global
80 to a process.
81 The signal mask for a process is initialized
84 may be changed with a
85 .Xr sigblock 2
87 .Xr sigsetmask 2
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
96 When a signal
98 a new signal mask is calculated (as described below),
104 If the process wishes to resume in a different context, then it
107 When a signal is delivered to a process a new signal mask is
109 (or until a
110 .Xr sigblock 2
112 .Xr sigsetmask 2
122 assigns a handler for a specific signal.
126 specifies a handler routine and mask
132 the system will deliver the signal to the process on a
135 .Xr sigaltstack 2 .
141 The following is a list of all signals
160 .It Dv SIGPIPE No " terminate process" " write on a pipe with no reader"
171 is possible on a descriptor (see
172 .Xr fcntl 2 )
174 .Xr setrlimit 2 )
176 .Xr setrlimit 2 )
178 .Xr setitimer 2 )
180 .Xr setitimer 2 )
184 .It Dv SIGUSR2 No " terminate process" " User defined signal 2"
187 Once a signal handler is installed, it remains installed
191 .Xr execve 2
193 A signal-specific default action may be reset by
208 If a signal is caught during the system calls listed below,
217 .Xr read 2 ,
218 .Xr write 2 ,
219 .Xr sendto 2 ,
220 .Xr recvfrom 2 ,
221 .Xr sendmsg 2
223 .Xr recvmsg 2
224 on a communications channel or a slow device (such as a terminal,
225 but not a regular file)
226 and during a
227 .Xr wait 2
229 .Xr ioctl 2 .
231 but instead return a partial success (for example, a short read count).
233 After a
234 .Xr fork 2
236 .Xr vfork 2
241 .Xr execve 2
281 is either a constant
292 is a pointer to the
309 points to memory that is not a valid part of the process
315 is not a valid signal number.
317 An attempt is made to ignore or supply a handler for
324 .Xr kill 2 ,
325 .Xr ptrace 2 ,
326 .Xr sigaction 2 ,
327 .Xr sigaltstack 2 ,
328 .Xr sigblock 2 ,
329 .Xr sigpause 2 ,
330 .Xr sigprocmask 2 ,
331 .Xr sigsetmask 2 ,
332 .Xr sigsuspend 2 ,
339 A
343 It was reimplemented as a wrapper around
344 .Xr sigaction 2