Searched refs:h_errno (Results 1 - 25 of 52) sorted by relevance

123

/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dh_errno.c37 int h_errno = -17; /* Some magic number */ variable
H A Dgetipnodebyname.c39 static int h_errno = NO_RECOVERY; variable
62 switch (h_errno) {
66 *error_num = h_errno;
H A Dgetipnodebyaddr.c50 switch (h_errno) {
54 *error_num = h_errno;
/freebsd-11-stable/lib/libc/resolv/
H A Dh_errno.c33 #undef h_errno macro
34 extern int h_errno;
48 h_errno = res->res_h_errno = err;
H A Dherror.c80 #undef h_errno macro
81 int h_errno; variable
85 * print the error indicated by the h_errno value.
H A DMakefile.inc6 SRCS+= herror.c h_errno.c mtctxres.c res_comp.c res_data.c res_debug.c \
/freebsd-11-stable/usr.bin/talk/
H A Dget_addrs.c56 errx(1, "%s: %s", his_machine_name, hstrerror(h_errno));
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dsm_gethost.c57 *err = h_errno;
88 *err = h_errno;
120 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
/freebsd-11-stable/contrib/sendmail/contrib/
H A Dbitdomain.c41 extern int h_errno;
174 switch (h_errno) {
205 * if it is not. A BIND error code is left in h_errno.
232 h_errno = NO_DATA;
237 if (errno == ECONNREFUSED || h_errno == TRY_AGAIN)
240 h_errno = TRY_AGAIN;
244 if (h_errno != HOST_NOT_FOUND)
/freebsd-11-stable/contrib/ntp/include/
H A Dl_stdlib.h220 #if defined(DECL_H_ERRNO) && !defined(h_errno)
221 extern int h_errno;
H A Dntp_machine.h152 extern int h_errno;
/freebsd-11-stable/lib/libbluetooth/
H A Dbluetooth.c86 h_errno = NO_RECOVERY;
108 h_errno = NETDB_INTERNAL;
113 h_errno = HOST_NOT_FOUND;
148 h_errno = NETDB_SUCCESS;
/freebsd-11-stable/contrib/bsnmp/lib/
H A Dsupport.c122 extern int h_errno;
137 return (h_errno);
/freebsd-11-stable/usr.sbin/bluetooth/btpand/
H A Dbtpand.c94 optarg, hstrerror(h_errno));
112 optarg, hstrerror(h_errno));
/freebsd-11-stable/contrib/sendmail/src/
H A Ddomain.c83 ** dnsrc -- DNS lookup return code (h_errno)
652 sm_dprintf("getmxrr: res_search(%s) failed (errno=%d (%s), h_errno=%d (%s))\n",
654 h_errno, herrno2txt(h_errno));
656 sm_dprintf("getmxrr: res_search(%s) failed, h_errno=%d\n",
657 host, h_errno);
659 switch (h_errno)
671 case 0: /* Ultrix resolver returns failure w/ h_errno=0 */
692 syserr("getmxrr: res_search (%s) failed with impossible h_errno (%d)",
693 host, h_errno);
[all...]
H A Dsm_resolve.c473 ** HERRNO2TXT -- return error text for h_errno
476 ** e -- h_errno
501 return "bogus h_errno";
658 ** SETHERRNOFROMSTRING -- set h_errno based on text
661 ** str -- string which might contain h_errno text
665 ** h_errno if found
695 return h_errno;
885 ** herr -- (pointer to) h_errno (output if non-NULL)
925 *herr = h_errno;
927 sm_dprintf("dnscrtrr rhs=%s h_errno
[all...]
/freebsd-11-stable/contrib/ntp/libntp/
H A Dmachines.c37 int h_errno; variable
42 h_errno = 0; /* we are always successful!!! */
56 h_errno = 0; /* we are always successful!!! */
/freebsd-11-stable/usr.sbin/timed/timedc/
H A Dcmds.c194 warnx("%s: %s", *argv, hstrerror(h_errno));
294 warnx("%s: %s", tgtname, hstrerror(h_errno));
390 warnx("%s: %s", *argv, hstrerror(h_errno));
/freebsd-11-stable/kerberos5/lib/libroken/
H A DMakefile43 h_errno.c \
/freebsd-11-stable/usr.sbin/bluetooth/l2ping/
H A Dl2ping.c100 errx(1, "%s: %s", optarg, hstrerror(h_errno));
129 errx(1, "%s: %s", optarg, hstrerror(h_errno));
/freebsd-11-stable/lib/libcasper/services/cap_dns/
H A Dcap_dns.c119 h_errno = NO_RECOVERY;
142 h_errno = NO_RECOVERY;
146 h_errno = (int)nvlist_get_number(nvl, "error");
169 h_errno = NO_RECOVERY;
173 h_errno = (int)nvlist_get_number(nvl, "error");
485 return (h_errno);
510 return (h_errno);
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/net/
H A Dh_hostent.c105 printf("error %d\n", h_errno);
/freebsd-11-stable/include/
H A Dnetdb.h97 #define h_errno (*__h_errno()) macro
148 * (left in h_errno).
/freebsd-11-stable/usr.sbin/bluetooth/bthidd/
H A Dbthidd.c86 errx(1, "%s: %s", optarg, hstrerror(h_errno));
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/
H A Dbthidcontrol.c77 errx(1, "%s: %s", optarg, hstrerror(h_errno));

Completed in 200 milliseconds

123