rustix::process

Function setpriority_pgrp

Source
pub fn setpriority_pgrp(pgid: Option<Pid>, priority: i32) -> Result<()>
Available on crate feature process only.
Expand description

setpriority(PRIO_PGRP, pgid)—Get the scheduling priority of the given process group.

A pgid of None means the process group of the calling process.

§References