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

/freebsd-11-stable/crypto/heimdal/appl/ftp/ftp/
H A Druserpass.c72 guess_domain (char *hostname_str, size_t sz) argument
79 if (gethostname (hostname_str, sz) < 0) {
80 strlcpy (hostname_str, "", sz);
83 dot = strchr (hostname_str, '.');
90 error = getaddrinfo (hostname_str, NULL, &hints, &ai);
92 return hostname_str;
96 strlcpy (hostname_str, ai->ai_canonname, sz);
100 dot = strchr (hostname_str, '.');
104 return hostname_str;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_ra/
H A Dutil.c166 char hostname_str[APRMAXHOSTLEN + 1] = { 0 };
181 apr_err = apr_gethostname(hostname_str, sizeof(hostname_str), pool);
185 mylocktoken = svn_string_createf(pool, "%s:%s", hostname_str,
165 char hostname_str[APRMAXHOSTLEN + 1] = { 0 }; local

Completed in 102 milliseconds