V6/usr/man/man2/getpid.2

Find at most related files.
including files from this version of Unix.

.th GETPID II 2/8/75
.sh NAME
getpid  \*-  get process identification
.sh SYNOPSIS
(getpid = 20.; not in assembler)
.br
.ft B
sys getpid
.ft R
.br
(pid in r0)
.ft B
.s3
getpid( )
.ft R
.sh DESCRIPTION
.it Getpid
returns
the process ID of
the current process.
Most often it is used to generate
uniquely-named
temporary files.
.sh "SEE ALSO"
\*-
.sh DIAGNOSTICS
\*-