man(1) Manual page archive


     GETPID(2)                                               GETPID(2)

     NAME
          getpid  -  get process identification

     SYNOPSIS
          getpid( )

     DESCRIPTION
          Getpid returns the process ID of the current process.  Most
          often it is used to generate uniquely-named temporary files.

     SEE ALSO
          mktemp(3)

     ASSEMBLER
          (getpid = 20.)
          sys getpid
          (pid in r0)