.th KILL IV 3/6/86
.sh NAME
kill  \*-  send signal to a process
.sh SYNOPSIS
(kill = 37.; not in assembler)
.br
(process number in r0)
.br
.ft B
sys kill; sig
.s3
kill(pid, sig);
.ft R
.sh DESCRIPTION
Kill
sends the signal
sig
to the process specified by the
process number in r0.
See signal (II) for a list of signals.
.s3
The sending and receiving processes must
have the same effective user ID.
.s3
If the process number is 0,
the signal is sent to all other processes which have the
same controlling typewriter and user ID.
.s3
In no case is it possible for a process to kill itself.
.sh "SEE ALSO"
signal (II), kill (I)
.sh DIAGNOSTICS
The error bit (c-bit)
is set if the process does not
have the same effective user ID,
or if the process
does not exist.
From C, \-1 is returned.
.sh KSOS
Signals have effect only within the Emulator family of the sender.
