HN
found = !regexec(®ex, HN, regex.re_nsub + 1, match, 0);
strlcpy(editedhost, HN + match[subex].rm_so, totalsize >
strlcpy(editedhost, HN, sizeof(editedhost));
char *HN;
HN = Getstr("hn", &cp);
if (HN && *HN)
(void) strlcpy(host_name, HN, sizeof(host_name));