rustix::process

Function setpriority_pgrp

source
pub fn setpriority_pgrp(pgid: Option<Pid>, priority: i32) -> Result<()>
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