mirror of https://git.musl-libc.org/git/musl
2 changed files with 9 additions and 0 deletions
@ -0,0 +1,8 @@ |
|||
#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)); |
|||
} |
|||
Loading…
Reference in new issue