GetPid v0.1.0
Returns the calling process ID.
Package: Linux
Signature
func GetPid() -> int64;
Returns
int64 — the process ID assigned by the kernel. This syscall succeeds for a
running process.
Example
import Linux::GetPid;
func Main() -> int {
let pid = GetPid();
return 0;
}