Home
last modified time | relevance | path

Searched refs:hostname (Results 1 – 2 of 2) sorted by relevance

/resolv/
A Dres_hconf.c535 _res_hconf_trim_domain (char *hostname) in _res_hconf_trim_domain() argument
540 hostname_len = strlen (hostname); in _res_hconf_trim_domain()
548 && __strcasecmp (&hostname[hostname_len - trim_len], trim) == 0) in _res_hconf_trim_domain()
550 hostname[hostname_len - trim_len] = '\0'; in _res_hconf_trim_domain()
A Dtst-resolv-res_init-skeleton.c289 const char *hostname; member
341 if (ctx->t->hostname != NULL) in run_res_init()
347 if (sethostname (ctx->t->hostname, strlen (ctx->t->hostname)) != 0) in run_res_init()
348 FAIL_EXIT1 ("sethostname (\"%s\"): %m", ctx->t->hostname); in run_res_init()
433 .hostname = "example",
479 .hostname = "example",

Completed in 8 milliseconds