GETPID(3f)

DESCRIPTION
Returns the numerical process identifier of the current process.

STANDARD
GNU extension

CLASS
Function

SYNTAX
RESULT = GETPID()

RETURN VALUE
The return value of GETPID is an INTEGER of the default kind.

EXAMPLE
          program info
            print *, "The current process ID is ", getpid()
            print *, "Your numerical user ID is ", getuid()
            print *, "Your numerical group ID is ", getgid()
          end program info

SEE ALSO
GETGID, GETUID

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).