kill(2) man page: ESRCH

Ed Schouten ed at 80386.nl
Thu Mar 15 12:07:21 UTC 2012


Kostik,

* Konstantin Belousov <kostikbel at gmail.com>, 20120315 12:56:
> No, this is wrong. ESRCH is the valid error return, just the description
> is bogus, and should be updated.

But wait. There are two ESRCH entries in the man page. I only removed
the one that is invalid.

If we want to improve the wording of the man page (which is unrelated to
my change), we should commit something like:

Index: kill.2
===================================================================
--- kill.2	(Revision 233002)
+++ kill.2	(Arbeitskopie)
@@ -121,7 +121,7 @@
 argument
 is not a valid signal number.
 .It Bq Er ESRCH
-No process can be found corresponding to that specified by
+No process or process group can be found corresponding to that specified by
 .Fa pid .
 .It Bq Er EPERM
 The sending process is not the super-user and its effective

-- 
 Ed Schouten <ed at 80386.nl>
 WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20120315/abef4d5b/attachment.pgp


More information about the freebsd-arch mailing list