kill.2: Clarify the meaning if sig==0

Reported-by: John Wiersba <jrw32982@yahoo.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2016-07-16 12:23:18 +02:00
parent e732a1c21d
commit a9562222f7
1 changed files with 3 additions and 3 deletions

View File

@ -81,10 +81,10 @@ except for process 1 (\fIinit\fP), but see below.
If \fIpid\fP is less than \-1, then \fIsig\fP is sent to every process
in the process group whose ID is \fI\-pid\fP.
.PP
If \fIsig\fP is 0, then no signal is sent, but error checking is still
performed;
If \fIsig\fP is 0, then no signal is sent,
but existence and permission checks are still performed;
this can be used to check for the existence of a process ID or
process group ID.
process group ID that the caller is permitted to signal.
For a process to have permission to send a signal
it must either be privileged (under Linux: have the