Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
6651ef1f060738ee1f50cac1fe6d8ce64c359022
/
.
/
src
/
network
/
herror.c
blob: 65f25ff3f45b6b0ce07ec61e8a8d54280b96817f [
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
));
}