\HeaderA{getpid}{Get the Process ID of the R Session}{getpid}
\aliasA{Sys.getpid}{getpid}{Sys.getpid}
\keyword{utilities}{getpid}
\begin{Description}\relax
Get the process ID of the \R{} Session.  It is guaranteed by the
operating system that two \R{} sessions running simultaneously will
have different IDs, but it is possible that \R{} sessions running at
different times will have the same ID.
\end{Description}
\begin{Usage}
\begin{verbatim}
Sys.getpid()
\end{verbatim}
\end{Usage}
\begin{Value}
An integer, usually a small integer between 0 and 32767 under
Unix-alikes and a much small integer under Windows.
\end{Value}
\begin{Examples}
\begin{ExampleCode}
Sys.getpid()
\end{ExampleCode}
\end{Examples}

