pub fn getpriority_process(pid: Option<Pid>) -> Result<i32>
getpriority(PRIO_PROCESS, pid)—Get the scheduling priority of the given process.
getpriority(PRIO_PROCESS, pid)
A pid of None means the calling process.
pid
None