Lines Matching refs:errno
261 errno = EPROTO; in random_bind()
430 errno = EINVAL; in res_nsend()
460 errno = ESRCH; in res_nsend()
493 errno = ESRCH; in res_nsend()
629 errno = useTcp ? terrno in res_nsend()
708 *terrno = errno; in send_vc()
710 switch (errno) { in send_vc()
724 *terrno = errno; in send_vc()
729 errno = 0; in send_vc()
731 *terrno = errno; in send_vc()
738 *terrno = errno; in send_vc()
764 *terrno = errno; in send_vc()
780 *terrno = errno; in send_vc()
820 *terrno = errno; in send_vc()
877 if (res < 0 && errno != EINPROGRESS) { in connect_with_timeout()
911 errno = ETIMEDOUT; in retrying_poll()
915 if (errno == EINTR) goto retry; in retrying_poll()
923 errno = error; in retrying_poll()
949 if (errno == EINTR && n < 0) continue; in udpRetryingPoll()
950 if (n == 0) errno = ETIMEDOUT; in udpRetryingPoll()
1019 *terrno = errno; in send_dg()
1021 switch (errno) { in send_dg()
1036 *terrno = errno; in send_dg()
1046 *terrno = errno; in send_dg()
1052 *terrno = errno; in send_dg()
1060 *terrno = errno; in send_dg()
1076 *terrno = (isTimeout) ? ETIMEDOUT : errno; in send_dg()
1092 *terrno = errno; in send_dg()
1157 const int err = errno; in dump_error()
1167 errno = err; in dump_error()