pub fn getpgrp() -> Pid
Available on crate feature
process
only.Expand description
Get the group id of the calling process (see getpgrp(3)).
Get the process group id (PGID) of the calling process. According to the man page it is always successful.