ggeettppggrrpp() -- System Call (libc)

Get process-group identifier
#iinncclluuddee <ssyyss/ttyyppeess.hh>
#iinncclluuddee <uunniissttdd.hh>
ppiidd_tt ggeettppggrrpp();

ggeettppggrrpp() returns  the identifier of  the calling process's  process group.
It always succeeds.

_S_e_e _A_l_s_o
lliibbcc, ttyyppeess.hh, uunniissttdd.hh
POSIX Standard, section 4.3.1
