Function rustix::process::setpriority_process

source ·
pub fn setpriority_process(pid: Option<Pid>, priority: i32) -> Result<()>
Expand description

setpriority(PRIO_PROCESS, pid)—Get the scheduling priority of the given process.

A pid of None means the calling process.

§References