Returns the process ID of the calling process, which is guaranteed to be unique on the system. This call is always successful.
writefln("Current process id: %s", getpid());
See Implementation
Returns the process ID of the calling process, which is guaranteed to be unique on the system. This call is always successful.