| [Overview][Constants][Types][Procedures and functions][Index] | 
Set process priority
Source position: bunxh.inc line 106
function fpSetPriority(  | 
Which: cint;  | 
Who: cint;  | 
What: cint  | 
):cint;  | 
fpSetPriority sets the priority with which a process is running. Which process(es) is determined by the Which and Who variables. Which can be one of the predefined constants:
Prio is a value in the range -20 to 20.
For an example, see FpNice.
The function returns zero on success, -1 on failure
Extended error information is returned by the FpGetErrno function.
  | 
Return process priority  | 
|
  | 
Set process priority  |