kill()

Terminate a PSL process.

Syntax

kill(pid)

Parameter

ParameterDefinition
pidinteger PATROL process identifier for the PSL process that is to be terminated*Default* 
process from which the kill() function is called

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:

kill(4546);


Was this page helpful? Yes No Submitting... Thank you

Comments