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
signal.h: add new sa_flags from linux v5.11
[musl.git]
/
src
/
network
/
herror.c
blob
87f8cff4fd47ed50813c5b85191b59b645508377
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
\n
"
,
msg
?
msg
:
""
,
msg
?
": "
:
""
,
hstrerror
(
h_errno
));
8
}