Searched refs:hostnamebuf (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dftp.c180 static char hostnamebuf[80]; local
225 hostnamebuf[0] = '\0';
227 (void) inet_ntop(AF_INET, &src4, hostnamebuf,
228 sizeof (hostnamebuf));
236 strlen(hostnamebuf) <= strlen(host)) {
237 (void) strlcpy(host, hostnamebuf, strlen(host) + 1);
241 (void) strlcpy(hostnamebuf,
243 sizeof (hostnamebuf));
246 hostname = hostnamebuf;

Completed in 98 milliseconds