N
AME
getpid
- get the process id of this process
S
YNTAX
int getpid();
D
ESCRIPTION
This returns the pid of this process. Useful for sending signals to yourself.
S
EE
A
LSO
kill
,
fork
and
signal