Unix |
Unix v7 |
|
![]() |
getpid(2) |
![]() |
getpid − get process identification
getpid( )
Getpid returns the process ID of the current process. Most often it is used to generate uniquely-named temporary files.
mktemp(3)
(getpid = 20.)
sys getpid
(pid in r0)
![]() |
getpid(2) | ![]() |