Lines Matching defs:service
61 * getnameinfo: Resolve IP addresses and ports to hostnames and service names,
71 * -H: Display only the hostname, omitting the service name
72 * -N: Display the numeric service name instead of the service name
76 * -S: Display only the service name, omitting the hostname
91 char hostname[NI_MAXHOST], service[NI_MAXSERV];
240 hostname, hostlen, service, servlen, flags);
244 print_result(hostname_only, service_only, hostname, service);
311 char *hostname, char *service)
317 printf("%s\n", service);
319 printf("%s %s\n", hostname, service);