summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-03-15 11:49:26 +0000
committered <ed@FreeBSD.org>2012-03-15 11:49:26 +0000
commitf17537891fc629a2c4102b63238e458b9dfe0abe (patch)
tree7e77e9cda4fe5dd7e5feff0c5bc23c358511a0b4 /lib
parent924dbaa61e768e166250cebdb7a3ed484f9b0d3f (diff)
downloadFreeBSD-src-f17537891fc629a2c4102b63238e458b9dfe0abe.zip
FreeBSD-src-f17537891fc629a2c4102b63238e458b9dfe0abe.tar.gz
Remove impossible error condition from the man page.
On FreeBSD, all processes have a process group, so it is impossible for kill(2) to fail this way. POSIX also doesn't mention this error condition. Discussed on: arch@ MFC after: 3 weeks
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/kill.25
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/sys/kill.2 b/lib/libc/sys/kill.2
index 647b98f..f849e38 100644
--- a/lib/libc/sys/kill.2
+++ b/lib/libc/sys/kill.2
@@ -28,7 +28,7 @@
.\" @(#)kill.2 8.3 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd March 10, 2012
+.Dd March 15, 2012
.Dt KILL 2
.Os
.Sh NAME
@@ -123,9 +123,6 @@ is not a valid signal number.
.It Bq Er ESRCH
No process can be found corresponding to that specified by
.Fa pid .
-.It Bq Er ESRCH
-The process id was given as 0
-but the sending process does not have a process group.
.It Bq Er EPERM
The sending process is not the super-user and its effective
user id does not match the effective user-id of the receiving process.
OpenPOWER on IntegriCloud