System module

get_machinename

procedureSource

Returns the machine's host name, or an empty string if it cannot be read.

Example↗
assert(get_machinename().count > 0);
get_machinename :: () -> string

Returns

string

See also