Skip to content

Commit 12733a0

Browse files
committed
perlfunc: clarify kill()'s return value
1 parent 4c0e595 commit 12733a0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

pod/perlfunc.pod

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3217,9 +3217,10 @@ X<kill> X<signal>
32173217

32183218
=for Pod::Functions send a signal to a process or process group
32193219

3220-
Sends a signal to a list of processes. Returns the number of
3221-
processes successfully signaled (which is not necessarily the
3222-
same as the number actually killed).
3220+
Sends a signal to a list of processes. Returns the number of arguments
3221+
that were successfully used to signal (which is not necessarily the same
3222+
as the number of processes actually killed, e.g. where a process group is
3223+
killed).
32233224

32243225
$cnt = kill 'HUP', $child1, $child2;
32253226
kill 'KILL', @goners;

0 commit comments

Comments
 (0)