Sign in
mojo
/
mojo-tools
/
6d10d6bbfecec30019b2fe5c06e28a809f0d9753
/
.
/
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
));
}