pub fn setpriority_pgrp(pgid: Option<Pid>, priority: i32) -> Result<()>
setpriority(PRIO_PGRP, pgid)—Get the scheduling priority of the given process group.
setpriority(PRIO_PGRP, pgid)
A pgid of None means the process group of the calling process.
pgid
None