Sign in
mojo
/
mojo-tools
/
7d579155cc597aa3befcbfad66eef54bda06b57c
/
.
/
fusl
/
src
/
network
/
herror.c
blob: 2261d22be54da046fb0076173b22729df72a37cd [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<stdio.h>
#include
<netdb.h>
void
herror
(
const
char
*
msg
)
{
fprintf
(
stderr
,
"%s%s%s"
,
msg
?
msg
:
""
,
msg
?
": "
:
""
,
hstrerror
(
h_errno
));
}