Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
In many cases, users only care the first address anyway.
and let other function call the new internal function gethostentbyname_r Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com> Change-Id: Ic6137d6cf03f75d6ed33e23bf04ae74b7264e682