Lines Matching refs:h_errnop
156 * @param h_errnop pointer to an int where to store errors (instead of modifying
159 * is stored in *h_errnop instead of h_errno to be thread-safe
163 size_t buflen, struct hostent **result, int *h_errnop)
171 if (h_errnop == NULL) {
172 /* ensure h_errnop is never NULL */
173 h_errnop = &lh_errno;
178 *h_errnop = EINVAL;
185 *h_errnop = EINVAL;
192 *h_errnop = ERANGE;
203 *h_errnop = HOST_NOT_FOUND;