1H_ERRNO(P)                 POSIX Programmer's Manual                H_ERRNO(P)
2
3
4

NAME

6       h_errno - error return value for network database operations
7

SYNOPSIS

9       #include <netdb.h>
10

DESCRIPTION

12       This  method  of returning errors is used only in connection with obso‐
13       lescent functions.
14
15       The <netdb.h> header provides a declaration of h_errno as a  modifiable
16       lvalue of type int.
17
18       It  is unspecified whether h_errno is a macro or an identifier declared
19       with external linkage. If a macro definition is suppressed in order  to
20       access  an  actual  object, or a program defines an identifier with the
21       name h_errno, the behavior is undefined.
22

RETURN VALUE

24       None.
25

ERRORS

27       No errors are defined.
28
29       The following sections are informative.
30

EXAMPLES

32       None.
33

APPLICATION USAGE

35       Applications should obtain the definition of h_errno by  the  inclusion
36       of the <netdb.h> header.
37

RATIONALE

39       None.
40

FUTURE DIRECTIONS

42       h_errno may be withdrawn in a future version.
43

SEE ALSO

45       endhostent()   ,   errno()   ,   the   Base   Definitions   volume   of
46       IEEE Std 1003.1-2001, <netdb.h>
47
49       Portions of this text are reprinted and reproduced in  electronic  form
50       from IEEE Std 1003.1, 2003 Edition, Standard for Information Technology
51       -- Portable Operating System Interface (POSIX),  The  Open  Group  Base
52       Specifications  Issue  6,  Copyright  (C) 2001-2003 by the Institute of
53       Electrical and Electronics Engineers, Inc and The Open  Group.  In  the
54       event of any discrepancy between this version and the original IEEE and
55       The Open Group Standard, the original IEEE and The Open Group  Standard
56       is  the  referee document. The original Standard can be obtained online
57       at http://www.opengroup.org/unix/online.html .
58
59
60
61IEEE/The Open Group                  2003                           H_ERRNO(P)
Impressum