Current section

Files

Jump to
alcove edoc gethostname-2.edoc
Raw

edoc/gethostname-2.edoc

@doc gethostname(2): retrieve the system hostname
== Examples ==
```
1> {ok, Drv} = alcove_drv:start().
{ok,<0.177.0>}
2> alcove:gethostname(Drv, []).
{ok,<<"host1">>}
'''