devela::_dep::rustix::process

Function setpriority_process

pub fn setpriority_process(pid: Option<Pid>, priority: i32) -> Result<(), Errno> 
Available on crate feature dep_rustix only.
Expand description

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

A pid of None means the calling process.

§References