Home | History | Annotate | Download | only in common

Lines Matching full:printf

47         printf("gethostbyname(%s) returned NULL !!\n", hostname);
50 printf( "gethostbyname(%s) returned:\n", hostname);
51 printf( " name: %s\n", hent->h_name );
52 printf( " aliases:" );
54 printf( " %s", hent->h_aliases[i] );
55 printf( "\n" );
56 printf( " address type: " );
58 case AF_INET: printf( "AF_INET\n"); break;
59 case AF_INET6: printf( "AF_INET6\n"); break;
60 default: printf("UNKNOWN (%d)\n", hent->h_addrtype);
62 printf( " address: " );
68 printf("%s%d", dot, ((unsigned char*)hent->h_addr)[i]);
76 printf( "%02x", ((unsigned char*)hent->h_addr)[i] );
79 printf("\n");