aboutsummaryrefslogtreecommitdiff
path: root/src/network/gethostbyaddr_r.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* fix error cases in gethostbyaddr_r•••EAI_MEMORY is not possible (but would not provide errno if it were) and EAI_FAIL does not provide errno. treat the latter as EBADMSG to match how it's handled in gethostbyname2_r (it indicates erroneous or failure response from the nameserver). Rich Felker2022-09-191-2/+3
* fix gethostbyaddr_r to fill struct hostent.h_length as appropriateTimo Teräs2016-03-241-0/+1
* fix gethostby*_r result pointer value on error•••according to the documentation in the man pages, the GNU extension functions gethostbyaddr_r, gethostbyname_r and gethostbyname2_r are guaranteed to set the result pointer to NULL in case of error or no result. Timo Teräs2014-06-201-0/+2
* fix error returns in gethostby*_r functions•••they're supposed to return an error code rather than using errno. Rich Felker2013-02-021-8/+5
* initial check-in, version 0.5.0Rich Felker2011-02-121-0/+71