V7/usr/man/man2/getpid.2

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

.TH GETPID 2 
.SH NAME
getpid  \-  get process identification
.SH SYNOPSIS
.B getpid( )
.SH DESCRIPTION
.I Getpid
returns
the process ID of
the current process.
Most often it is used to generate
uniquely-named
temporary files.
.SH "SEE ALSO"
mktemp(3)
.SH ASSEMBLER
(getpid = 20.)
.br
.B sys getpid
.br
(pid in r0)