getpid Returns the current process ID. Syntax R = getpid Outputs R Current process ID. Type: integer Examples Get the current process ID: R = getpidR = 16832