Returns the scheduling priority of a process, process group, or user.
fn getpriority(which: i32, who: i32) -> i32
The id type of who.
who
Whose priority to return.
getpriority(2)