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

123

/illumos-gate/usr/src/stand/lib/sa/
H A Dnetdb.h66 extern int h_errno;
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcompat.c43 extern int h_errno;
60 *h_errnop = h_errno; /* XXX don't see anywhere else to get this */
H A Dgetdxbyname.c74 extern int h_errno;
137 h_errno = NO_RECOVERY;
143 h_errno = NO_DATA;
152 h_errno = NO_RECOVERY;
248 h_errno = err;
/illumos-gate/usr/src/lib/libresolv/
H A Dres_query.c61 int h_errno; variable
69 * Error number is left in h_errno.
97 h_errno = NO_RECOVERY;
106 h_errno = TRY_AGAIN;
119 h_errno = HOST_NOT_FOUND;
122 h_errno = TRY_AGAIN;
125 h_errno = NO_DATA;
131 h_errno = NO_RECOVERY;
137 h_errno = 0;
145 * is detected. Error number is left in h_errno
[all...]
H A Dres_gethost.c80 int h_errno; variable
111 h_errno = NO_RECOVERY;
125 h_errno = HOST_NOT_FOUND;
127 h_errno = TRY_AGAIN;
223 h_errno = TRY_AGAIN;
247 h_errno = HOST_NOT_FOUND;
/illumos-gate/usr/src/lib/libresolv2/common/sunw/
H A Dsunw_mtctxres.c24 * to store per-thread _res, h_errno, etc. We continue to provide the
41 #ifdef h_errno
42 #undef h_errno macro
/illumos-gate/usr/src/lib/nsswitch/nis/common/
H A Dgethostent.c68 argp->h_errno = __nss2herrno(res);
75 argp->h_errno = __nss2herrno(res);
101 argp->h_errno = __nss2herrno(res);
H A Dgethostent6.c69 argp->h_errno = __nss2herrno(res);
77 argp->h_errno = __nss2herrno(res);
110 argp->h_errno = __nss2herrno(res);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Dgethostent6.c303 he = _nss_dns_gethostbyname2(&argp->h_errno,
313 argp->h_errno = HOST_NOT_FOUND;
316 return (_herrno2nss(argp->h_errno));
322 argp->h_errno = HOST_NOT_FOUND;
325 return (_herrno2nss(argp->h_errno));
333 argp->h_errno = HOST_NOT_FOUND;
336 return (_herrno2nss(argp->h_errno));
338 v6_h_errno = argp->h_errno;
357 he = _gethostbyname(&argp->h_errno, argp->key.ipnode.name);
372 argp->h_errno
[all...]
H A Dgethostent.c145 he = _gethostbyname(&argp->h_errno, argp->key.name);
163 argp->h_errno = HOST_NOT_FOUND;
172 return (_herrno2nss(argp->h_errno));
219 he = _gethostbyaddr(&argp->h_errno, addrp, addrlen, af);
237 argp->h_errno = HOST_NOT_FOUND;
245 return (_herrno2nss(argp->h_errno));
H A Ddns_mt.c105 extern int h_errno;
136 * Select h_errno retrieval function. A BIND 8.2.2
232 * Return pointer to the global h_errno variable
236 return (&h_errno);
/illumos-gate/usr/src/lib/nsswitch/files/common/
H A Dgethostent6.c57 argp->h_errno = __nss_files_2herrno(res);
78 argp->h_errno = __nss_files_2herrno(res);
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dherror.c83 #undef h_errno macro
84 int h_errno; variable
89 * print the error indicated by the h_errno value.
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dgetauuser.c127 *h_errnop = arg.h_errno;
146 arg.h_errno = AUDITUSER_NOT_FOUND;
150 *errnop = arg.h_errno;
H A Dgethostent.c46 * Still just a global. If you want per-thread h_errno,
49 int h_errno; variable
71 &h_errno));
79 h_errno = 0;
81 return (getipnodebyaddr(addr, len, type, &h_errno));
86 b->result, b->buffer, b->buflen, &h_errno));
96 return (gethostent_r(b->result, b->buffer, b->buflen, &h_errno));
H A Dgetauthattr.c124 *h_errnop = arg.h_errno;
142 *errnop = arg.h_errno;
H A Dgetprofattr.c121 *h_errnop = arg.h_errno;
139 *errnop = arg.h_errno;
H A Dgetuserattr.c131 *h_errnop = arg.h_errno;
161 *errnop = arg.h_errno;
H A Dgethostent6.c96 *h_errnop = arg.h_errno;
H A Dgethostent_r.c100 *h_errnop = arg.h_errno;
/illumos-gate/usr/src/lib/libbc/inc/include/
H A Dnetdb.h82 extern int h_errno;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dsm_gethost.c67 *err = h_errno;
96 h = _switch_gethostbyname_r(name, &hp, buf, sizeof(buf), &h_errno);
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c88 return (h_errno);
94 switch (h_errno) {
101 msg_done[h_errno]++;
102 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
113 msg_done[h_errno]++;
114 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
124 syslog(LOG_ERR, EMSG_NO_RECOVERY, hstrerror(h_errno));
133 msg_done[h_errno]++;
134 if (!(msg_done[h_errno] % NFSMAPID_SLOG_RATE))
143 return (h_errno);
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirs_data.c52 #undef h_errno macro
53 extern int h_errno;
234 return (&h_errno);
237 return (&h_errno);
248 h_errno = res->res_h_errno = err;
/illumos-gate/usr/src/head/
H A Dnetdb.h366 extern int h_errno;
371 /* Only #define h_errno if there is no conflict with other use */
373 #define h_errno (*__h_errno()) macro
379 * (left in extern int h_errno).

Completed in 140 milliseconds

123