kill
kill — sends a signal to a process.
Arguments
- pid
- The process id number.
- signo
- The signal number, normally one of the
built-in signal values.
Description
This process functions similarly
to the kill shell command. Signals and their
descriptions can be found in signal.
Example
Process 1:
Gamma> getpid();
8299
Gamma>
Process 2:
Gamma> kill(8299,9);
t
Gamma>
Process 1:
Gamma> Killed
Process 3:
Gamma> getpid();
9041
Gamma> kill (9041,14);
Alarm clock