GETPID(2) — UNIX Programmer’s Manual
NAME
getpid − get process identification
SYNOPSIS
getpid( )
DESCRIPTION
Getpid returns the process ID of the current process. Most often it is used to generate uniquely-named temporary files.
SEE ALSO
ASSEMBLER
(getpid = 20.)
sys getpid
(pid in r0)
7th Edition