KILL(II) 8/5/73 KILL(II)
NAME
kill - send signal to a process
SYNOPSIS
(kill = 37.; not in assembler)
(process number in r0)
sys kill; sig
DESCRIPTION
Kill sends the signal sig to the process specified by the
process number in r0. See signal(II) for a list of signals.
The sending and receiving processes must have the same
controlling typewriter, otherwise this call is restricted to
the super-user.
SEE ALSO
signal(II), kill(I)
DIAGNOSTICS
The error bit (c-bit) is set if the process does not have
the same controlling typewriter and the user is not super-
user, or if the process does not exist.
BUGS
Equality between the controlling typewriters of the sending
and receiving process is neither a necessary nor sufficient
condition for allowing the sending of a signal. The correct
condition is equality of user IDs.