kill()
Terminate a PSL process.
Syntax
Parameter
Parameter | Definition |
|---|---|
pid | integer PATROL process identifier for the PSL process that is to be terminated*Default* |
Description
The kill() function terminates the PSL process identified by the process identifier pid. If pid is omitted, the kill() function terminates the process from which it is called.
The kill() function returns 0 if the requested process was killed, or 1 if pid did not exist or the process was not killed.
Example
The following is an example of the kill() function: