devela::_dep::rustix::process

Function getpriority_process

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

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

A pid of None means the calling process.

§References