Mwnci getpid() Function

Syntax

getpid()

Description

The getpid() function returns the process id of the caller.

Note: This value is also stored as a constant PID as soon as the process starts

Example

println(getpid())


1840