ggeettppppiidd() -- System Call (libc)

Get process identifier of parent process
#iinncclluuddee <uunniissttdd.hh>
ggeettppppiidd()

Every process  has a unique  number, called its _p_r_o_c_e_s_s  _i_d. ffoorrkk() returns
the process id of a created child process to the parent process.

ggeettppppiidd()  returns  the  process  id  of  the requesting  process's  parent
process.  In this way, a wayward child process can discover the identity of
its parent.

_S_e_e _A_l_s_o
ffoorrkk(), ggeettppiidd(), kkiillll, lliibbcc, mmkktteemmpp, uunniissttdd.hh
POSIX Standard, section 4.1.1
