[Overview][Constants][Types][Procedures and functions][Variables][Index] |
Send a signal to a process
Source position: oldlinux.pp line 1485
function Kill( |
Pid: LongInt; |
Sig: LongInt |
):Integer; |
Send a signal Sig to a process or process group. If Pid>0 then the signal is sent to Pid, if it equals -1, then the signal is sent to all processes except process 1. If Pid<-1 then the signal is sent to process group -Pid. The return value is zero, except in case three, where the return value is the number of processes to which the signal was sent.
LinuxError is used to report errors:
|
Install signal handler |
|
|
Install signal handler (deprecated) |
lazarus-ccr.sourceforge.net |