() -> u64
macOSLinuxWindowsAndroid
#import "System";
Procedures#
() -> (string, success: bool)
(username := "") -> (string, success: bool)
() -> string
() -> string
($type: Processor_Query_Type = .PERFORMANCE_LOGICAL) -> count: s32
How many processors of a kind the machine has.
logical := get_number_of_processors(.ALL_LOGICAL);
assert(logical >= get_number_of_processors(.ALL_PHYSICAL) && logical > 0);Doesn't run in the browser (skipped on wasm).
(error_code: W.OS_Error_Code) -> string
() -> (error_code: W.OS_Error_Code, description: string)
Types#
:: enum
Constants#
:: Windows.GetLastError
:: Impl.get_passwd_for_user