repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
update case mappings to unicode 12.1.0
[musl.git]
/
src
/
network
/
herror.c
blob
65f25ff3f45b6b0ce07ec61e8a8d54280b96817f
1
#define _GNU_SOURCE
2
#include <stdio.h>
3
#include <netdb.h>
4
5
void
herror
(
const char
*
msg
)
6
{
7
fprintf
(
stderr
,
"%s%s%s"
,
msg
?
msg
:
""
,
msg
?
": "
:
""
,
hstrerror
(
h_errno
));
8
}