.th GETPID II 5/31/77 .sh NAME getpid \*- get process identification .sh SYNOPSIS (getpid = 20.) .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.