Print this page
11583 Some man3lib pages are missing parts of the SYNOPSIS
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man3lib/libresolv.3lib
+++ new/usr/src/man/man3lib/libresolv.3lib
1 1 '\" te
2 2 .\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
3 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 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 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"
6 +.TH LIBRESOLV 3LIB "Aug 19, 2019"
7 7 .SH NAME
8 8 libresolv \- resolver library
9 9 .SH SYNOPSIS
10 -.LP
11 10 .nf
12 -cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB -lsocket \fR \fB -lnsl \fR [ \fIlibrary\fR... ]
11 +cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB-lsocket\fR \fB-lnsl\fR [ \fIlibrary\fR... ]
13 12 #include <\fBsys/types.h\fR>
14 13 #include <\fBnetinet/in.h\fR>
15 14 #include <\fBarpa/nameser.h\fR>
16 15 #include <\fBresolv.h\fR>
17 16 #include <\fBnetdb.h\fR>
18 17 .fi
19 18
20 19 .SH DESCRIPTION
21 -.sp
22 -.LP
23 20 Functions in this library provide for creating, sending, and interpreting
24 21 packets to the Internet domain name servers.
25 22 .SH INTERFACES
26 -.sp
27 -.LP
28 23 The shared object \fBlibresolv.so.2\fR provides the public interfaces defined
29 24 below. See \fBIntro\fR(3) for additional information on shared object
30 25 interfaces.
31 26 .sp
32 27
33 28 .sp
34 29 .TS
35 30 l l
36 31 l l .
37 32 \fB__dn_skipname\fR \fB__fp_query\fR
38 33 \fB__hostalias\fR \fB__p_cdname\fR
39 34 \fB__p_class\fR \fB__p_query\fR
40 35 \fB__p_time\fR \fB__p_type\fR
41 36 \fB__putlong\fR \fB_getlong\fR
42 37 \fB_getshort\fR \fB_res\fR
43 38 \fBdn_comp\fR \fBdn_expand\fR
44 39 \fBfp_resstat\fR \fBh_errno\fR
45 40 \fBherror\fR \fBhstrerror\fR
46 41 \fBres_hostalias\fR \fBres_init\fR
47 42 \fBres_mkquery\fR \fBres_nclose\fR
48 43 \fBres_ninit\fR \fBres_nmkquery\fR
49 44 \fBres_nquery\fR \fBres_nquerydomain\fR
50 45 \fBres_nsearch\fR \fBres_nsend\fR
51 46 \fBres_nsendsigned\fR \fBres_query\fR
52 47 \fBres_querydomain\fR \fBres_search\fR
53 48 \fBres_send\fR \fBres_update\fR
54 49 .TE
55 50
56 51 .sp
57 52 .LP
58 53 Programs are expected to use the aliases defined in <\fBresolv.h\fR> rather
59 54 than calling the "__" prefixed procedures, as indicated in the following table.
60 55 Use of the routines in the first column is discouraged.
61 56 .sp
62 57
63 58 .sp
64 59 .TS
65 60 c c
66 61 l l .
67 62 \fBFUNCTION REFERENCED\fR \fBALIAS TO USE\fR
↓ open down ↓ |
30 lines elided |
↑ open up ↑ |
68 63 \fB__dn_skipname\fR \fBdn_skipname\fR
69 64 \fB__fp_query\fR \fBfp_query\fR
70 65 \fB__putlong\fR \fBputlong\fR
71 66 \fB__p_cdname\fR \fBp_cdname\fR
72 67 \fB__p_class\fR \fBp_class\fR
73 68 \fB__p_time\fR \fBp_time\fR
74 69 \fB__p_type\fR \fBp_type\fR
75 70 .TE
76 71
77 72 .SH FILES
78 -.sp
79 73 .ne 2
80 74 .na
81 -\fB\fB/lib/libresolv.so.1\fR\fR
75 +\fB/lib/libresolv.so.1\fR
82 76 .ad
83 77 .RS 26n
84 78 shared object for backward compatibility only
85 79 .RE
86 80
87 81 .sp
88 82 .ne 2
89 83 .na
90 -\fB\fB/lib/64/libresolv.so.1\fR\fR
84 +\fB/lib/64/libresolv.so.1\fR
91 85 .ad
92 86 .RS 26n
93 87 64-bit shared object for backward compatibility only
94 88 .RE
95 89
96 90 .sp
97 91 .ne 2
98 92 .na
99 -\fB\fB/lib/libresolv.so.2\fR\fR
93 +\fB/lib/libresolv.so.2\fR
100 94 .ad
101 95 .RS 26n
102 96 shared object
103 97 .RE
104 98
105 99 .sp
106 100 .ne 2
107 101 .na
108 -\fB\fB/lib/64/libresolv.so.2\fR\fR
102 +\fB/lib/64/libresolv.so.2\fR
109 103 .ad
110 104 .RS 26n
111 105 64-bit shared object
112 106 .RE
113 107
114 108 .SH ATTRIBUTES
115 -.sp
116 -.LP
117 109 See \fBattributes\fR(5) for descriptions of the following attributes:
118 110 .sp
119 111
120 112 .sp
121 113 .TS
122 114 box;
123 115 c | c
124 116 l | l .
125 117 ATTRIBUTE TYPE ATTRIBUTE VALUE
126 118 _
127 119 Interface Stability Standard: BIND 8.2.4
128 120 _
129 121 MT-Level See \fBresolver\fR(3RESOLV)
130 122 .TE
131 123
132 124 .SH SEE ALSO
133 -.sp
134 -.LP
135 125 \fBpvs\fR(1), \fBIntro\fR(3), \fBresolver\fR(3RESOLV), \fBattributes\fR(5)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX