Handbook
Glossary
host-name ( -- string )
Vocabulary
io
.
sockets
Inputs
None
Outputs
string
an
object
Definition
USING:
system
;
IN:
io.sockets
HOOK:
host-name
os
( -- string )
Methods
USING:
alien.strings
byte-arrays
io.encodings.ascii
io.sockets
kernel
libc
system
unix.ffi
;
M:
unix
host-name
256
[
<byte-array>
dup
]
keep
gethostname
io-error
ascii
alien>string
;