gethostname()
function gethostname(): string
Gets the standard host name for the local machine.
Parameters: none.
Returns: string
No examples yet — check examples/ and showcases/ for usage patterns.
Internals
For how gethostname is implemented in the compiler, see the internals page.