Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 8
Host error variable
#include <netdb.h>
extern int h_errno;
libsocket
Use the -l socket option to
qcc
to link against this library.
The h_errno variable can be set by any one of the following
functions:
It can be set to any one of the following:
- HOST_NOT_FOUND
- Authoritative answer: Unknown host.
- NETDB_INTERNAL
- You specified an invalid address family when calling
gethostbyname2().
- NO_DATA
- Valid name, no data record of the requested type.
The name is known to the name server, but has no IP
address associated with it—this isn't a temporary
error. Another type of request to the name server using this
domain name will result in an answer (e.g. a
mail-forwarder may be registered for this domain).
- NO_RECOVERY
- Unknown server error. An unexpected server failure was encountered.
This is a nonrecoverable network error.
- TRY_AGAIN
- Nonauthoritative answer: Host name lookup failure.
This is usually a temporary error and means that the
local server didn't receive a response from an authoritative
server. A retry at some later time may succeed.
POSIX 1003.1 OBS
Unlike errno,
h_errno isn't thread-safe.
errno,
gethostbyaddr(),
gethostbyaddr_r(),
gethostbyname(),
gethostbyname2(),
gethostbyname_r(),
res_query(),
res_search()
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 154
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/lib_ref/h/h_errno.html on line 154