mirror of
https://github.com/fluencelabs/musl
synced 2025-06-23 19:52:01 +00:00
implement legacy function herror
based on patch by Timo Teräs; greatly simplified to use fprintf.
This commit is contained in:
@ -134,6 +134,7 @@ int *__h_errno_location(void);
|
||||
#endif
|
||||
|
||||
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
|
||||
void herror(const char *);
|
||||
const char *hstrerror(int);
|
||||
int gethostbyname_r(const char *, struct hostent *, char *, size_t, struct hostent **, int *);
|
||||
int gethostbyname2_r(const char *, int, struct hostent *, char *, size_t, struct hostent **, int *);
|
||||
|
Reference in New Issue
Block a user