getpid

getpid — returns the program ID.

Syntax

getpid ()

		

Arguments

none

Returns

The program ID of the current session of the interpreter.

Example

Gamma> getpid();
8081
Gamma> 
		

See Also

getnid