Home | History | Annotate | Download | only in common

Lines Matching defs:hostname

1164     char hostname[PATH_MAX];
1165 hostname[sizeof(hostname) - 1] = '\0';
1166 if (::gethostname (hostname, sizeof(hostname) - 1) == 0)
1168 struct hostent* h = ::gethostbyname (hostname);
1172 s.assign (hostname);