Searched refs:hostinfo (Results 1 – 1 of 1) sorted by relevance
217 struct hostent *hostinfo; in ipcalc_main() local219 hostinfo = gethostbyaddr((char *) &ipaddr, sizeof(ipaddr), AF_INET); in ipcalc_main()220 if (!hostinfo) { in ipcalc_main()223 str_tolower(hostinfo->h_name); in ipcalc_main()225 printf("HOSTNAME=%s\n", hostinfo->h_name); in ipcalc_main()