

getpid()               COHERENT System Call              getpid()




Get process identifier

getpid()

Every process  has a unique number, called  its process id.  fork
returns the  process id of a created child  process to the parent
process.

getpid returns  the process id of  the requesting process.  Typi-
cally a  process uses  getpid to pass  its process id  to another
process which wants to send it  a signal, or to generate a unique
temporary file name.

***** See Also *****

COHERENT system calls, fork(), kill, mktemp








































COHERENT Lexicon                                           Page 1


