Home
last modified time | relevance | path

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

12

/openbsd/src/lib/libc/asr/
Dres_query.c39 h_errno = NO_RECOVERY; in res_query()
47 h_errno = NO_RECOVERY; in res_query()
49 h_errno = NETDB_INTERNAL; in res_query()
57 h_errno = ar.ar_h_errno; in res_query()
82 h_errno = NO_RECOVERY; in res_search()
90 h_errno = NO_RECOVERY; in res_search()
92 h_errno = NETDB_INTERNAL; in res_search()
100 h_errno = ar.ar_h_errno; in res_search()
Dgethostnamadr.c155 &h_errno); in gethostbyname2()
157 h_errno = NETDB_INTERNAL; in gethostbyname2()
161 if (h_errno) in gethostbyname2()
179 h_errno = NETDB_INTERNAL; in gethostbyaddr()
186 h_errno = ar.ar_h_errno; in gethostbyaddr()
194 h_errno = NETDB_INTERNAL; in gethostbyaddr()
Dgetnetnamadr.c92 h_errno = NETDB_INTERNAL; in getnetbyname()
99 h_errno = ar.ar_h_errno; in getnetbyname()
119 h_errno = NETDB_INTERNAL; in getnetbyaddr()
126 h_errno = ar.ar_h_errno; in getnetbyaddr()
Dres_mkquery.c105 h_errno = NETDB_INTERNAL; in res_querydomain()
113 h_errno = NETDB_INTERNAL; in res_querydomain()
Dsethostent.c34 h_errno = NETDB_INTERNAL; in gethostent()
Dres_init.c35 int h_errno; variable
/openbsd/src/gnu/usr.bin/cvs/os2/
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/src/lib/libc/net/
Dherror.c69 extern int h_errno;
89 v->iov_base = (char *)hstrerror(h_errno); in herror()
Dgetnetent.c47 h_errno = NETDB_INTERNAL; in getnetent()
/openbsd/src/usr.bin/talk/
Dget_addrs.c51 errx(1, "%s: %s", my_machine_name, hstrerror(h_errno)); in get_addrs()
60 errx(1, "%s: %s", his_machine_name, hstrerror(h_errno)); in get_addrs()
/openbsd/src/regress/lib/libc/asr/bin/
Dgetnetnamadr.c74 h_errno = 0; in main()
Dgetrrsetbyname.c79 h_errno = 0; in main()
Dcommon.c356 printf(" => errno %i, h_errno %i", errno, h_errno); in print_errors()
364 h_errno, h_errno ? hstrerror(h_errno) : "ok", in print_errors()
Dgethostnamadr.c86 h_errno = 0; in main()
Dgetnameinfo.c101 h_errno = 0; in main()
Dgetaddrinfo.c123 h_errno = 0; in main()
Dres_mkquery.c91 h_errno = 0; in main()
Dres_query.c110 h_errno = 0; in main()
/openbsd/src/regress/lib/libpthread/include/
Dtest.h112 #define CHECKhn(x) _CHECK(x, != 0, hstrerror(h_errno))
/openbsd/src/include/
Dnetdb.h142 extern int h_errno;
/openbsd/src/gnu/usr.bin/perl/
Dpp_sys.c74 #if defined(HOST_NOT_FOUND) && !defined(h_errno) && !defined(__CYGWIN__) && !defined(__serenity__)
75 extern int h_errno;
5319 h_errno = PL_reentrant_buffer->_gethostent_errno;
5322 STATUS_UNIX_SET(h_errno);
5410 h_errno = PL_reentrant_buffer->_getnetent_errno;
5413 STATUS_UNIX_SET(h_errno);
/openbsd/src/lib/libc/
DSymbols.list1145 h_errno
/openbsd/src/gnu/usr.bin/perl/cpan/Pod-Simple/t/
Dperlcygo.txt221 pp_sys.c - do not define h_errno, pp_system with spawn
Dperlcyg.pod536 pp_sys.c - do not define h_errno, pp_system with spawn
/openbsd/src/sbin/mountd/
Dmountd.c1820 hstrerror(h_errno)); in get_host()

12