Function rustix::process::setpriority_pgrp

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

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