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

/freebsd-13-stable/usr.sbin/ppp/
H A Dprompt.c88 static char shostname[MAXHOSTNAMELEN]; local
120 if (*shostname == '\0') {
123 if (gethostname(shostname, sizeof shostname) || *shostname == '\0')
124 strcpy(shostname, "localhost");
125 else if ((dot = strchr(shostname, '.')))
129 fprintf(p->Term, "%s%s%s> ", pconnect, pauth, shostname);
/freebsd-13-stable/sbin/ping/
H A Dping.c181 static char *shostname; variable
595 shostname = source;
611 shostname = snamebuf;
863 (void)printf(" from %s", shostname);

Completed in 84 milliseconds