libresolv - resolver library
cc [ flag... ] file... -lresolv -lsocket -lnsl [ library... ] #include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h> #include <netdb.h>
Functions in this library provide for creating, sending, and interpreting packets to the Internet domain name servers.
The shared object libresolv.so.2 provides the public interfaces defined below. See Intro(3) for additional information on shared object interfaces.
__dn_skipname | __fp_query |
__hostalias | __p_cdname |
__p_class | |
__p_time | |
__putlong | |
_getshort | |
dn_comp | |
fp_resstat | |
herror | |
res_hostalias | |
res_mkquery | |
res_ninit | |
res_nquery | |
res_nsearch | |
res_nsendsigned | |
res_querydomain | |
res_send |
Programs are expected to use the aliases defined in <resolv.h> rather than calling the "__" prefixed procedures, as indicated in the following table. Use of the routines in the first column is discouraged.
FUNCTION REFERENCED | ALIAS TO USE |
__dn_skipname | dn_skipname |
__fp_query | |
__putlong | |
__p_cdname | |
__p_class | |
__p_time | |
__p_type |
/lib/libresolv.so.1
/lib/64/libresolv.so.1
/lib/libresolv.so.2
/lib/64/libresolv.so.2
See attributes(5) for descriptions of the following attributes:
|
pvs(1), Intro(3), resolver(3RESOLV), attributes(5)
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |