kill sig, processes
- Sends a signal, sig, to a list of processes. You may use a signal name in quotes (without a
SIG
on the front). This function returns the number of processes successfully signaled. If the signal is negative, the function kills process groups instead of processes.