Package: MacOS
MacOS
func GetPid() -> int64;
int64 - the process ID assigned by the kernel.
int64
import MacOS::GetPid; func Main() -> int { let pid = GetPid(); return 0; }
Exit
Terminates the process immediately.
GetTimeOfDay
Reads the current wall-clock time.
On this page