getpgrp

Function getpgrp 

Source
pub fn getpgrp() -> Result<pid_t, i32>
Expand description

The process group of the current process see getgrp(2)

ยงErrors

returns -1 if error