pub fn getpgrp() -> Result<pid_t, i32>
The process group of the current process see getgrp(2)
returns -1 if error
-1