[Overview][Constants][Types][Procedures and functions] | Reference for unit 'BaseUnix' (#rtl) |
Send a signal to a process
Source position: bunxh.inc line 65
function FpKill( |
pid: TPid; |
sig: cint |
):cint; |
fpKill sends 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.
Extended error information can be retrieved using fpGetErrno:
|
Install signal handler |
|
|
Install signal handler (deprecated) |
No notes exist for this page yet.