svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
libresolv(3lib)
libresolv(3LIB) Interface Libraries libresolv(3LIB)
NAME
libresolv - resolver library
SYNOPSIS
cc [ flag... ] file... -lresolv [ library... ]
#include <sys/types.h>
#include <netinet/in.h>
#include <arpa/nameser.h>
#include <resolv.h>
#include <netdb.h>
DESCRIPTION
Functions in this library provide for creating, sending, and interpret‐
ing packets to the Internet domain name servers.
This library is maintained to provide backward compatibility for both
runtime and compilation environments. The shared object is implemented
as a filter on libc.so.1. New application development does not need to
specify -lresolv.
INTERFACES
The shared object libresolv.so.2 provides the public interfaces defined
below. See intro(3) for additional information on shared object inter‐
faces.
tab(); lw(2.75i) lw(2.75i) __dn_skipname__fp_query __hostal‐
ias__p_cdname __p_class__p_query __p_time__p_type __putlong_getlong
_getshort_res dn_compdn_expand fp_resstath_errno herrorhstrerror
inet_cidr_ntopinet_cidr_pton ns_find_tsigns_sign
ns_sign_tcpns_sign_tcp_init ns_verifyns_verify_tcp ns_verify_tcp_ini‐
tres_hostalias res_initres_mkquery res_ncloseres_ninit res_nmk‐
queryres_nquery res_nquerydomainres_nsearch res_nsendres_nsendsigned
res_queryres_querydomain res_searchres_send res_update
Programs are expected to use the aliases defined in <resolv.h> rather
than calling the "__" prefixed procedures, as indicated in the follow‐
ing table. Use of the routines in the first column is discouraged.
tab(); lw(2.75i) lw(2.75i) lw(2.75i) lw(2.75i) FUNCTION REFERENCED
ALIAS TO USE __dn_skipnamedn_skipname __fp_queryfp_query __putlongput‐
long __p_cdnamep_cdname __p_classp_class __p_timep_time __p_typep_type
FILES
/lib/libresolv.so.2 32-bit shared object
/lib/64/libresolv.so.2 64-bit shared object
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/library _ Interface StabilityCommit‐
ted _ MT-LevelT{ Unsafe for deprecated interfaces; MT-Safe for all oth‐
ers T} _ StandardBIND 8.2.4
SEE ALSO
pvs(1), resolver(3RESOLV), intro(3), attributes(7)
Oracle Solaris 11.4 10 Feb 2020 libresolv(3LIB)