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

/openbsd-current/lib/libc/asr/
H A Dsethostent.c34 h_errno = NETDB_INTERNAL;
H A Dres_query.c39 h_errno = NO_RECOVERY;
47 h_errno = NO_RECOVERY;
49 h_errno = NETDB_INTERNAL;
57 h_errno = ar.ar_h_errno;
82 h_errno = NO_RECOVERY;
90 h_errno = NO_RECOVERY;
92 h_errno = NETDB_INTERNAL;
100 h_errno = ar.ar_h_errno;
H A Dgethostnamadr.c155 &h_errno);
157 h_errno = NETDB_INTERNAL;
161 if (h_errno)
179 h_errno = NETDB_INTERNAL;
186 h_errno = ar.ar_h_errno;
194 h_errno = NETDB_INTERNAL;
H A Dgetnetnamadr.c92 h_errno = NETDB_INTERNAL;
99 h_errno = ar.ar_h_errno;
119 h_errno = NETDB_INTERNAL;
126 h_errno = ar.ar_h_errno;
H A Dres_mkquery.c105 h_errno = NETDB_INTERNAL;
113 h_errno = NETDB_INTERNAL;
H A Dres_init.c35 int h_errno; variable
/openbsd-current/lib/libc/net/
H A Dgetnetent.c47 h_errno = NETDB_INTERNAL;
H A Dherror.c69 extern int h_errno;
73 * print the error indicated by the h_errno value.
89 v->iov_base = (char *)hstrerror(h_errno);
/openbsd-current/usr.bin/talk/
H A Dget_addrs.c51 errx(1, "%s: %s", my_machine_name, hstrerror(h_errno));
60 errx(1, "%s: %s", his_machine_name, hstrerror(h_errno));
/openbsd-current/gnu/usr.bin/cvs/os2/
H A Dtcpip.h88 # define HOST_ERRNO (h_errno)
100 #if !defined( h_errno )
101 extern int h_errno; /* IBM forgot to declare this in current header files */
117 # define HOST_ERRNO h_errno
/openbsd-current/regress/lib/libc/asr/bin/
H A Dgethostnamadr.c86 h_errno = 0;
H A Dgetnameinfo.c101 h_errno = 0;
H A Dgetnetnamadr.c74 h_errno = 0;
H A Dgetrrsetbyname.c79 h_errno = 0;
H A Dgetaddrinfo.c123 h_errno = 0;
H A Dcommon.c356 printf(" => errno %i, h_errno %i", errno, h_errno);
362 printf(" => errno %i: %s\n => h_errno %i: %s\n => rrset_errno %i: %s\n",
364 h_errno, h_errno ? hstrerror(h_errno) : "ok",
H A Dres_query.c110 h_errno = 0;
H A Dres_mkquery.c91 h_errno = 0;
/openbsd-current/include/
H A Dnetdb.h142 extern int h_errno;
146 * (left in extern int h_errno).
/openbsd-current/regress/lib/libpthread/include/
H A Dtest.h120 #define CHECKhn(x) _CHECK(x, != 0, hstrerror(h_errno))
/openbsd-current/gnu/usr.bin/perl/
H A Dpp_sys.c68 h_errno might not be a simple 'int', especially for multi-threaded
74 #if defined(HOST_NOT_FOUND) && !defined(h_errno) && !defined(__CYGWIN__)
75 extern int h_errno;
5101 h_errno = PL_reentrant_buffer->_gethostent_errno;
5104 STATUS_UNIX_SET(h_errno);
5189 h_errno = PL_reentrant_buffer->_getnetent_errno;
5192 STATUS_UNIX_SET(h_errno);
H A Dconfigure.com3824 $! Check for h_errno
3826 $ echo4 "Checking to see if you have h_errno..."
3836 $ WS "h_errno = 3;"
3844 $ echo "You have h_errno."
3847 $ echo "You do not have h_errno."
/openbsd-current/sbin/mountd/
H A Dmountd.c1805 hstrerror(h_errno));
/openbsd-current/gnu/usr.bin/perl/Porting/
H A Dbisect-runner.pl4003 qr/defined\(HOST_NOT_FOUND\) && !defined\(h_errno\)/)) {
4016 +#if defined(HOST_NOT_FOUND) && !defined(h_errno)
4017 extern int h_errno;
/openbsd-current/gnu/usr.bin/perl/vms/
H A Dvms.c123 dEXT int h_errno; variable

Completed in 330 milliseconds