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