# Sys::Hostname
📦 min
Return the local machine’s hostname, cached after the first lookup.
Calls libc::gethostname into a stack buffer, returns result as a PV SV.
Mirrors `Sys::Hostname` XS.
## Functions
### Other Functions
#### `ghname`
`ghname()` — raw gethostname wrapper.
#### `hostname`
`hostname()` — cached hostname wrapper.