summaryrefslogtreecommitdiff
path: root/src/network/gethostbyaddr_r.c
AgeCommit message (Collapse)AuthorLines
2014-07-28fix gethostby*_r result pointer value on errorRich Felker-0/+2
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. corresponds to commit fe82bb9b921be34370e6b71a1c6f062c20999ae0 in master branch.
2013-02-02fix error returns in gethostby*_r functionsRich Felker-8/+5
they're supposed to return an error code rather than using errno.
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker-0/+71