]> git.saurik.com Git - apple/libc.git/blame - gen/FreeBSD/signal.3.patch
Libc-583.tar.gz
[apple/libc.git] / gen / FreeBSD / signal.3.patch
CommitLineData
224c7076
A
1--- signal.3.orig 2006-12-15 11:55:30.000000000 -0800
2+++ signal.3 2006-12-15 11:57:08.000000000 -0800
3d9156a7 3@@ -48,9 +48,7 @@
59e0d9fe
A
4 .Ft void \*(lp*
5 .Fn signal "int sig" "void \*(lp*func\*(rp\*(lpint\*(rp\*(rp\*(rp\*(lpint"
6 .Pp
7-or in
8-.Fx Ns 's
9-equivalent but easier to read typedef'd version:
10+or in the equivalent but easier to read typedef'd version:
11 .Ft typedef "void \*(lp*sig_t\*(rp \*(lpint\*(rp" ;
12 .Ft sig_t
13 .Fn signal "int sig" "sig_t func"
224c7076
A
14@@ -62,9 +60,9 @@
15 .Xr sigaction 2
16 facility.
17 .Pp
18-Signals allow the manipulation of a process from outside its
19-domain as well as allowing the process to manipulate itself or
20-copies of itself (children).
21+Signals allow the manipulation of a process from outside its domain,
22+as well as allowing the process to manipulate itself
23+or copies of itself (children).
24 There are two general types of signals:
25 those that cause termination of a process and those that do not.
26 Signals which cause termination of a program might result from
27@@ -77,11 +75,10 @@
28 when a process resumes after being stopped,
29 when the status of child processes changes,
30 or when input is ready at the control terminal.
31-Most signals result in the termination of the process receiving them
32-if no action
33-is taken; some signals instead cause the process receiving them
34-to be stopped, or are simply discarded if the process has not
35-requested otherwise.
36+Most signals result in the termination of the process receiving them,
37+if no action is taken;
38+some signals instead cause the process receiving them to be stopped,
39+or are simply discarded if the process has not requested otherwise.
40 Except for the
41 .Dv SIGKILL
42 and
43@@ -135,7 +132,6 @@
44 .It 29 Ta Dv SIGINFO Ta "discard signal" Ta "status request from keyboard"
45 .It 30 Ta Dv SIGUSR1 Ta "terminate process" Ta "User defined signal 1"
46 .It 31 Ta Dv SIGUSR2 Ta "terminate process" Ta "User defined signal 2"
47-.It 32 Ta Dv SIGTHR Ta "terminate process" Ta "thread interrupt"
48 .El
49 .Pp
50 The
51@@ -151,7 +147,7 @@
52 A
53 .Dv SIG_DFL
54 resets the default action.
55-To ignore the signal
56+To ignore the signal,
57 .Fa func
58 should be
59 .Dv SIG_IGN .
60@@ -185,7 +181,7 @@
61 .Xr write 2 ,
62 .Xr sendto 2 ,
63 .Xr recvfrom 2 ,
64-.Xr sendmsg 2
65+.Xr sendmsg 2 ,
66 and
67 .Xr recvmsg 2
68 on a communications channel or a low speed device