Lines Matching defs:hostname
83 static char hostname[MAXHOSTNAMELEN];
231 unknown_host(int error, char *hostname)
235 hostname);
237 (void) fprintf(stderr, "%s: Unknown host.\n", hostname);
274 (void) inet_ntop(AF_INET, &ipv4addr, hostname,
275 sizeof (hostname));
277 (void) strlcpy(hostname, host->h_name,
278 sizeof (hostname));
420 (void) inet_ntop(AF_INET, &ipv4addr, hostname,
421 sizeof (hostname));
423 (void) strlcpy(hostname, hp->h_name,
424 sizeof (hostname));
441 cp, hostname, targ, mode);
468 argv[n], hostname, buf, mode);
540 (void) inet_ntop(AF_INET, &ipv4addr, hostname,
541 sizeof (hostname));
543 (void) strlcpy(hostname, hp->h_name,
544 sizeof (hostname));
557 hostname, src, cp, mode);
571 hostname, src, cp, mode);
631 (void) printf("Connected to %s.\n", hostname);