Searched refs:hptr2 (Results 1 – 1 of 1) sorted by relevance
139 struct hostent *hptr1, *hptr2; in test_hosts() local145 hptr2 = gethostbyname ("LocalHost"); in test_hosts()146 if (hptr1 != NULL || hptr2 != NULL) in test_hosts()153 else if (hptr2 == NULL) in test_hosts()158 else if (strcmp (hptr1->h_name, hptr2->h_name) != 0) in test_hosts()162 printf ("gethostbyname (\"LocalHost\")->%s\n", hptr2->h_name); in test_hosts()
Completed in 4 milliseconds