OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:shostname
(Results
1 - 1
of
1
) sorted by null
/external/libppp/src/
prompt.c
86
static char
shostname
[MAXHOSTNAMELEN];
local
118
if (*
shostname
== '\0') {
121
if (gethostname(
shostname
, sizeof
shostname
) || *
shostname
== '\0')
122
strcpy(
shostname
, "localhost");
123
else if ((dot = strchr(
shostname
, '.')))
127
fprintf(p->Term, "%s%s%s> ", pconnect, pauth,
shostname
);
Completed in 74 milliseconds