signal.h: add new sa_flags from linux v5.11
[musl.git] / src / network / herror.c
blob87f8cff4fd47ed50813c5b85191b59b645508377
1 #define _GNU_SOURCE
2 #include <stdio.h>
3 #include <netdb.h>
5 void herror(const char *msg)
7 fprintf(stderr, "%s%s%s\n", msg?msg:"", msg?": ":"", hstrerror(h_errno));