Function rustix::process::setpriority_process

pub fn setpriority_process(pid: Option<Pid>, priority: i32) -> io::Result<()>
Documentation

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

A pid of None means the calling process.

References