kill

Sends a signal to a process.

Available in:

Apps (win) Apps (char) Reportwriter RPC Standalone PL
X X X X X

Syntax

int kill(pid,signal)
int      pid
int      signal

Description

Sends the signal to the process pid. The return value is false of success and (-1) on failure. This function is similar to its POSIX counterpart. The failure message can be retrieved using error_msg().
pid specifies the process id of the target process.

signal specifies the signal number to send.