perlfunc: clarify kill()'s return value
authorDavid Mitchell <davem@iabyn.com>
Mon, 17 Mar 2014 16:44:48 +0000 (16:44 +0000)
committerDavid Mitchell <davem@iabyn.com>
Mon, 17 Mar 2014 16:44:48 +0000 (16:44 +0000)
pod/perlfunc.pod

index 065e2e4..8f4df97 100644 (file)
@@ -3217,9 +3217,10 @@ X<kill> X<signal>
 
 =for Pod::Functions send a signal to a process or process group
 
-Sends a signal to a list of processes.  Returns the number of
-processes successfully signaled (which is not necessarily the
-same as the number actually killed).
+Sends a signal to a list of processes.  Returns the number of arguments
+that were successfully used to signal (which is not necessarily the same
+as the number of processes actually killed, e.g. where a process group is
+killed).
 
     $cnt = kill 'HUP', $child1, $child2;
     kill 'KILL', @goners;