Searched refs:hptr1 (Results 1 – 1 of 1) sorted by relevance
139 struct hostent *hptr1, *hptr2; in test_hosts() local144 hptr1 = gethostbyname ("localhost"); in test_hosts()146 if (hptr1 != NULL || hptr2 != NULL) in test_hosts()148 if (hptr1 == NULL) in test_hosts()169 hptr1 = gethostbyname ("127.0.0.1"); in test_hosts()172 hptr1 = gethostbyname ("10.1234"); in test_hosts()188 hptr1 = gethostbyname (name); in test_hosts()195 if (hptr1 != NULL) in test_hosts()203 hptr1 = gethostent (); in test_hosts()204 output_hostent ("gethostent ()", hptr1); in test_hosts()[all …]
Completed in 5 milliseconds