summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2012-03-15 21:19:50 +0000
committered <ed@FreeBSD.org>2012-03-15 21:19:50 +0000
commit640706fe968d3c7214a512319d0a0037ea870664 (patch)
tree48e7b90858ec2dcb5f4ddcfee89c9cc2c0457103 /lib
parent61f538e71928779b51472db5713d94aa55dc5384 (diff)
downloadFreeBSD-src-640706fe968d3c7214a512319d0a0037ea870664.zip
FreeBSD-src-640706fe968d3c7214a512319d0a0037ea870664.tar.gz
Remove non-existing error condition.
Just like kill(2), it is impossible for killpg(0, ...) to fail with ESRCH, as a process always has a process group. Discussed on: arch@ MFC after: 1 week
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/compat-43/killpg.25
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/libc/compat-43/killpg.2 b/lib/libc/compat-43/killpg.2
index 6793e41..b23b773 100644
--- a/lib/libc/compat-43/killpg.2
+++ b/lib/libc/compat-43/killpg.2
@@ -28,7 +28,7 @@
.\" @(#)killpg.2 8.1 (Berkeley) 6/2/93
.\" $FreeBSD$
.\"
-.Dd October 10, 2006
+.Dd March 15, 2012
.Dt KILLPG 2
.Os
.Sh NAME
@@ -79,9 +79,6 @@ is not a valid signal number.
.It Bq Er ESRCH
No process can be found in the process group specified by
.Fa pgrp .
-.It Bq Er ESRCH
-The process group 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 one or more
of the target processes has an effective user ID different from that
OpenPOWER on IntegriCloud