posix_getpid Return the current process identifier &reftitle.description; intposix_getpid Return the process identifier of the current process. &reftitle.returnvalues; Returns the identifier, as an integer. &reftitle.examples; Example use of <function>posix_getpid</function> ]]> &reftitle.seealso; posix_kill to kill a process. POSIX man page GETPID(2)