Function rustix::process::getpriority_process

pub fn getpriority_process(pid: Option<Pid>) -> io::Result<i32>
Documentation

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

A pid of None means the calling process.

References