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