projects
/
unix-history
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
BSD 3 development
[unix-history]
/
usr
/
man
/
man2
/
getpid.2
.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 (PDP-11)"
(getpid = 20.)
.br
.B sys getpid
.br
(pid in r0)