Next: , Previous: GETGID, Up: Intrinsic Procedures


8.64 GETPID — Process ID function

Description:
Returns the process numerical identificator of the current process.
Option:
gnu
Class:
function
Syntax:
I = 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