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

/freebsd-11-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-11-stable/sbin/ping/
H A Dping.c173 static char *shostname; variable
574 shostname = source;
596 shostname = snamebuf;
845 (void)printf(" from %s", shostname);

Completed in 94 milliseconds