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

Get process identifier
#iinncclluuddee <uunniissttdd.hh>
ggeettp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piidd() returns  the process  id of  the requesting process.   Typically a
process uses ggeettppiidd() to pass its process id to another process which wants
to send it a signal, or to generate a unique temporary file name.

_E_x_a_m_p_l_e
For an example of using this system call in a C program, see ssiiggnnaall().

_S_e_e _A_l_s_o
ffoorrkk(), ggeettppp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
