svn commit: r283114 - head/share/man/man9

Benjamin Kaduk bjk at FreeBSD.org
Tue May 19 15:43:21 UTC 2015


Author: bjk (doc committer)
Date: Tue May 19 15:43:20 2015
New Revision: 283114
URL: https://svnweb.freebsd.org/changeset/base/283114

Log:
  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).

Modified:
  head/share/man/man9/psignal.9

Modified: head/share/man/man9/psignal.9
==============================================================================
--- head/share/man/man9/psignal.9	Tue May 19 15:29:00 2015	(r283113)
+++ head/share/man/man9/psignal.9	Tue May 19 15:43:20 2015	(r283114)
@@ -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 
 .Sh HISTORY
 The
 .Fn psignal
-call was renamed to 
+function was renamed to
 .Fn kern_psignal
-in 
+in
 .Fx 9.0 .


More information about the svn-src-all mailing list