Process.pid

int pid() @property const @safe nothrow

Gets the process ID.

Returns

The process ID.