aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kaduk <bjk@FreeBSD.org>2015-05-19 15:43:20 +0000
committerBenjamin Kaduk <bjk@FreeBSD.org>2015-05-19 15:43:20 +0000
commit6b0f8782905a0cfe94069c57f0724034ec2153be (patch)
tree04d2364a9d3d9edc2411780008846b353b6f5283
parent352bc63d720d48becc03ff6f35f2f28cacf385ad (diff)
downloadsrc-6b0f8782905a0cfe94069c57f0724034ec2153be.tar.gz
src-6b0f8782905a0cfe94069c57f0724034ec2153be.zip
Fixup to the kern_psignal manpage
r283105 misspelled kern_psignal as kernel_psignal in one occurrence, and added trailing whitespace. While here, change 'call' to the more standard 'function', and say why the name was changed (taken from the commit message for r225617).
Notes
Notes: svn path=/head/; revision=283114
-rw-r--r--share/man/man9/psignal.911
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9
index 5ca76f80bd5a..aa170322e7cf 100644
--- a/share/man/man9/psignal.9
+++ b/share/man/man9/psignal.9
@@ -63,10 +63,11 @@ function posts signal number
to the process represented by the process structure
.Fa p .
The
-.Fn kernel_psignal
-function used to be called
+.Fn kern_psignal
+function used to be called
.Fn psignal
-but was renamed.
+but was renamed in order to eliminate a name collision with the libc
+function of that name and facilitate code reuse.
With a few exceptions noted below, the target process signal disposition is
updated and is marked as runnable, so further handling of the signal is done
in the context of the target process after a context switch.
@@ -158,7 +159,7 @@ to the thread represented by the thread structure
.Sh HISTORY
The
.Fn psignal
-call was renamed to
+function was renamed to
.Fn kern_psignal
-in
+in
.Fx 9.0 .