pub fn getpgrp() -> pid_t
getpgrp() returns the process group ID of the calling process. It is a trivial wrapper over libc::getpgrp to “hide” the unsafe
getpgrp()