getpid

Number0x04
Signature() -> pid
Grouptask
Since1.0

Get the PID of the current process.

Returns

PID of the process.