1 '\" te
2 .\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LIBRESOLV 3LIB "Mar 24, 2004"
7 .SH NAME
8 libresolv \- resolver library
9 .SH SYNOPSIS
10 .LP
11 .nf
12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB -lsocket \fR \fB -lnsl \fR [ \fIlibrary\fR... ]
13 #include <\fBsys/types.h\fR>
14 #include <\fBnetinet/in.h\fR>
15 #include <\fBarpa/nameser.h\fR>
16 #include <\fBresolv.h\fR>
17 #include <\fBnetdb.h\fR>
18 .fi
19
20 .SH DESCRIPTION
21 .sp
22 .LP
23 Functions in this library provide for creating, sending, and interpreting
24 packets to the Internet domain name servers.
25 .SH INTERFACES
26 .sp
27 .LP
28 The shared object \fBlibresolv.so.2\fR provides the public interfaces defined
29 below. See \fBIntro\fR(3) for additional information on shared object
30 interfaces.
31 .sp
32
33 .sp
34 .TS
35 l l
36 l l .
37 \fB__dn_skipname\fR \fB__fp_query\fR
38 \fB__hostalias\fR \fB__p_cdname\fR
39 \fB__p_class\fR \fB__p_query\fR
40 \fB__p_time\fR \fB__p_type\fR
41 \fB__putlong\fR \fB_getlong\fR
42 \fB_getshort\fR \fB_res\fR
43 \fBdn_comp\fR \fBdn_expand\fR
44 \fBfp_resstat\fR \fBh_errno\fR
45 \fBherror\fR \fBhstrerror\fR
46 \fBres_hostalias\fR \fBres_init\fR
47 \fBres_mkquery\fR \fBres_nclose\fR
58 Programs are expected to use the aliases defined in <\fBresolv.h\fR> rather
59 than calling the "__" prefixed procedures, as indicated in the following table.
60 Use of the routines in the first column is discouraged.
61 .sp
62
63 .sp
64 .TS
65 c c
66 l l .
67 \fBFUNCTION REFERENCED\fR \fBALIAS TO USE\fR
68 \fB__dn_skipname\fR \fBdn_skipname\fR
69 \fB__fp_query\fR \fBfp_query\fR
70 \fB__putlong\fR \fBputlong\fR
71 \fB__p_cdname\fR \fBp_cdname\fR
72 \fB__p_class\fR \fBp_class\fR
73 \fB__p_time\fR \fBp_time\fR
74 \fB__p_type\fR \fBp_type\fR
75 .TE
76
77 .SH FILES
78 .sp
79 .ne 2
80 .na
81 \fB\fB/lib/libresolv.so.1\fR\fR
82 .ad
83 .RS 26n
84 shared object for backward compatibility only
85 .RE
86
87 .sp
88 .ne 2
89 .na
90 \fB\fB/lib/64/libresolv.so.1\fR\fR
91 .ad
92 .RS 26n
93 64-bit shared object for backward compatibility only
94 .RE
95
96 .sp
97 .ne 2
98 .na
99 \fB\fB/lib/libresolv.so.2\fR\fR
100 .ad
101 .RS 26n
102 shared object
103 .RE
104
105 .sp
106 .ne 2
107 .na
108 \fB\fB/lib/64/libresolv.so.2\fR\fR
109 .ad
110 .RS 26n
111 64-bit shared object
112 .RE
113
114 .SH ATTRIBUTES
115 .sp
116 .LP
117 See \fBattributes\fR(5) for descriptions of the following attributes:
118 .sp
119
120 .sp
121 .TS
122 box;
123 c | c
124 l | l .
125 ATTRIBUTE TYPE ATTRIBUTE VALUE
126 _
127 Interface Stability Standard: BIND 8.2.4
128 _
129 MT-Level See \fBresolver\fR(3RESOLV)
130 .TE
131
132 .SH SEE ALSO
133 .sp
134 .LP
135 \fBpvs\fR(1), \fBIntro\fR(3), \fBresolver\fR(3RESOLV), \fBattributes\fR(5)
|
1 '\" te
2 .\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
4 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
5 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
6 .TH LIBRESOLV 3LIB "Aug 19, 2019"
7 .SH NAME
8 libresolv \- resolver library
9 .SH SYNOPSIS
10 .nf
11 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB-lsocket\fR \fB-lnsl\fR [ \fIlibrary\fR... ]
12 #include <\fBsys/types.h\fR>
13 #include <\fBnetinet/in.h\fR>
14 #include <\fBarpa/nameser.h\fR>
15 #include <\fBresolv.h\fR>
16 #include <\fBnetdb.h\fR>
17 .fi
18
19 .SH DESCRIPTION
20 Functions in this library provide for creating, sending, and interpreting
21 packets to the Internet domain name servers.
22 .SH INTERFACES
23 The shared object \fBlibresolv.so.2\fR provides the public interfaces defined
24 below. See \fBIntro\fR(3) for additional information on shared object
25 interfaces.
26 .sp
27
28 .sp
29 .TS
30 l l
31 l l .
32 \fB__dn_skipname\fR \fB__fp_query\fR
33 \fB__hostalias\fR \fB__p_cdname\fR
34 \fB__p_class\fR \fB__p_query\fR
35 \fB__p_time\fR \fB__p_type\fR
36 \fB__putlong\fR \fB_getlong\fR
37 \fB_getshort\fR \fB_res\fR
38 \fBdn_comp\fR \fBdn_expand\fR
39 \fBfp_resstat\fR \fBh_errno\fR
40 \fBherror\fR \fBhstrerror\fR
41 \fBres_hostalias\fR \fBres_init\fR
42 \fBres_mkquery\fR \fBres_nclose\fR
53 Programs are expected to use the aliases defined in <\fBresolv.h\fR> rather
54 than calling the "__" prefixed procedures, as indicated in the following table.
55 Use of the routines in the first column is discouraged.
56 .sp
57
58 .sp
59 .TS
60 c c
61 l l .
62 \fBFUNCTION REFERENCED\fR \fBALIAS TO USE\fR
63 \fB__dn_skipname\fR \fBdn_skipname\fR
64 \fB__fp_query\fR \fBfp_query\fR
65 \fB__putlong\fR \fBputlong\fR
66 \fB__p_cdname\fR \fBp_cdname\fR
67 \fB__p_class\fR \fBp_class\fR
68 \fB__p_time\fR \fBp_time\fR
69 \fB__p_type\fR \fBp_type\fR
70 .TE
71
72 .SH FILES
73 .ne 2
74 .na
75 \fB/lib/libresolv.so.1\fR
76 .ad
77 .RS 26n
78 shared object for backward compatibility only
79 .RE
80
81 .sp
82 .ne 2
83 .na
84 \fB/lib/64/libresolv.so.1\fR
85 .ad
86 .RS 26n
87 64-bit shared object for backward compatibility only
88 .RE
89
90 .sp
91 .ne 2
92 .na
93 \fB/lib/libresolv.so.2\fR
94 .ad
95 .RS 26n
96 shared object
97 .RE
98
99 .sp
100 .ne 2
101 .na
102 \fB/lib/64/libresolv.so.2\fR
103 .ad
104 .RS 26n
105 64-bit shared object
106 .RE
107
108 .SH ATTRIBUTES
109 See \fBattributes\fR(5) for descriptions of the following attributes:
110 .sp
111
112 .sp
113 .TS
114 box;
115 c | c
116 l | l .
117 ATTRIBUTE TYPE ATTRIBUTE VALUE
118 _
119 Interface Stability Standard: BIND 8.2.4
120 _
121 MT-Level See \fBresolver\fR(3RESOLV)
122 .TE
123
124 .SH SEE ALSO
125 \fBpvs\fR(1), \fBIntro\fR(3), \fBresolver\fR(3RESOLV), \fBattributes\fR(5)
|