Function nix::unistd::getpgrp [] [src]

pub fn getpgrp() -> pid_t

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.