h_errno
switch (h_errno) {
*error_num = h_errno;
static int h_errno = NO_RECOVERY;
switch (h_errno) {
*error_num = h_errno;
int h_errno = -17; /* Some magic number */
extern int h_errno; /* In case it's missing, e.g., HP-UX 10.20. */
{ TMP = gethostbyname (NAME); (ERR) = h_errno; (HP) = TMP; }
{ TMP = gethostbyaddr ((ADDR), (ADDRLEN), (FAMILY)); (ERR) = h_errno; (HP) = TMP; }
(ERR) = h_errno; \
switch(h_errno) {
extern int h_errno;
ERR_raise_data(ERR_LIB_SYS, 1000 + h_errno,
h_errno = NETDB_INTERNAL;
h_errno = HOST_NOT_FOUND;
h_errno = NETDB_SUCCESS;
h_errno = NO_RECOVERY;
extern int h_errno;
h_errno = res->res_h_errno = err;
int h_errno;
*errstr = hstrerror(h_errno);
return hp ? 0 : h_errno;
h_errno = NO_RECOVERY;
h_errno = NO_RECOVERY;
h_errno = (int)nvlist_get_number(nvl, "error");
h_errno = NO_RECOVERY;
h_errno = (int)nvlist_get_number(nvl, "error");
return (h_errno);
return (h_errno);
caperr = h_errno;
h_errno = NO_RECOVERY;
h_errno = NO_RECOVERY;
h_errno = (int)nvlist_get_number(nvl, "error");
h_errno = NO_RECOVERY;
h_errno = (int)nvlist_get_number(nvl, "error");
return (h_errno);
return (h_errno);
if (caphp == NULL && h_errno == ENOTCAPABLE)
if (caphp == NULL && h_errno == ENOTCAPABLE)
if (caphp == NULL && h_errno == ENOTCAPABLE)
return (h_errno);
source, hstrerror(h_errno));
target, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", his_machine_name, hstrerror(h_errno));
xo_warnx("%s: %s", host, hstrerror(h_errno));
if (h_errno == TRY_AGAIN)
if (h_errno == TRY_AGAIN)
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
optarg, hstrerror(h_errno));
optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
errx(1, "%s: %s", optarg, hstrerror(h_errno));
hp = getipnodebyname(optarg, AF_INET6, 0, &h_errno);