D | test-netdb.c | 54 output_servent (const char *call, struct servent *sptr) in output_servent() argument 59 printf ("Call: %s returned NULL\n", call); in output_servent() 63 call, sptr->s_name, ntohs(sptr->s_port), sptr->s_proto); in output_servent() 115 output_hostent (const char *call, struct hostent *hptr) in output_hostent() argument 121 printf ("Call: %s returned NULL\n", call); in output_hostent() 125 call, hptr->h_name, hptr->h_addrtype); in output_hostent() 213 output_netent (const char *call, struct netent *nptr) in output_netent() argument 218 printf ("Call: %s returned NULL\n", call); in output_netent() 225 call, nptr->n_name, inet_ntoa (ip)); in output_netent() 264 output_protoent (const char *call, struct protoent *prptr) in output_protoent() argument [all …]
|