Handbook
Glossary
addrinfo-error-string ( n -- string )
Vocabulary
io
.
sockets
.
private
Inputs
n
an
object
Outputs
string
an
object
Definition
USING:
io.backend
;
IN:
io.sockets.private
HOOK:
addrinfo-error-string
io-backend
( n -- string )
Methods
USING:
io.sockets.private
kernel
libc
sequences
system
unix.ffi
;
M:
unix
addrinfo-error-string
dup
EAI_SYSTEM
=
[
errno
[
gai_strerror
]
dip
strerror
": "
glue
]
[
gai_strerror
]
if
;