Print this page
11583 Some man3lib pages are missing parts of the SYNOPSIS
*** 1,32 ****
'\" te
.\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
.\" 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.
.\" 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.
.\" 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]
! .TH LIBRESOLV 3LIB "Mar 24, 2004"
.SH NAME
libresolv \- resolver library
.SH SYNOPSIS
- .LP
.nf
! cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB -lsocket \fR \fB -lnsl \fR [ \fIlibrary\fR... ]
#include <\fBsys/types.h\fR>
#include <\fBnetinet/in.h\fR>
#include <\fBarpa/nameser.h\fR>
#include <\fBresolv.h\fR>
#include <\fBnetdb.h\fR>
.fi
.SH DESCRIPTION
- .sp
- .LP
Functions in this library provide for creating, sending, and interpreting
packets to the Internet domain name servers.
.SH INTERFACES
- .sp
- .LP
The shared object \fBlibresolv.so.2\fR provides the public interfaces defined
below. See \fBIntro\fR(3) for additional information on shared object
interfaces.
.sp
--- 1,27 ----
'\" te
.\" Copyright (C) 2004, Sun Microsystems, Inc. All Rights Reserved.
.\" 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.
.\" 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.
.\" 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]
! .TH LIBRESOLV 3LIB "Aug 19, 2019"
.SH NAME
libresolv \- resolver library
.SH SYNOPSIS
.nf
! cc [ \fIflag\fR... ] \fIfile\fR... \fB-lresolv\fR \fB-lsocket\fR \fB-lnsl\fR [ \fIlibrary\fR... ]
#include <\fBsys/types.h\fR>
#include <\fBnetinet/in.h\fR>
#include <\fBarpa/nameser.h\fR>
#include <\fBresolv.h\fR>
#include <\fBnetdb.h\fR>
.fi
.SH DESCRIPTION
Functions in this library provide for creating, sending, and interpreting
packets to the Internet domain name servers.
.SH INTERFACES
The shared object \fBlibresolv.so.2\fR provides the public interfaces defined
below. See \fBIntro\fR(3) for additional information on shared object
interfaces.
.sp
*** 73,121 ****
\fB__p_time\fR \fBp_time\fR
\fB__p_type\fR \fBp_type\fR
.TE
.SH FILES
- .sp
.ne 2
.na
! \fB\fB/lib/libresolv.so.1\fR\fR
.ad
.RS 26n
shared object for backward compatibility only
.RE
.sp
.ne 2
.na
! \fB\fB/lib/64/libresolv.so.1\fR\fR
.ad
.RS 26n
64-bit shared object for backward compatibility only
.RE
.sp
.ne 2
.na
! \fB\fB/lib/libresolv.so.2\fR\fR
.ad
.RS 26n
shared object
.RE
.sp
.ne 2
.na
! \fB\fB/lib/64/libresolv.so.2\fR\fR
.ad
.RS 26n
64-bit shared object
.RE
.SH ATTRIBUTES
- .sp
- .LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
--- 68,113 ----
\fB__p_time\fR \fBp_time\fR
\fB__p_type\fR \fBp_type\fR
.TE
.SH FILES
.ne 2
.na
! \fB/lib/libresolv.so.1\fR
.ad
.RS 26n
shared object for backward compatibility only
.RE
.sp
.ne 2
.na
! \fB/lib/64/libresolv.so.1\fR
.ad
.RS 26n
64-bit shared object for backward compatibility only
.RE
.sp
.ne 2
.na
! \fB/lib/libresolv.so.2\fR
.ad
.RS 26n
shared object
.RE
.sp
.ne 2
.na
! \fB/lib/64/libresolv.so.2\fR
.ad
.RS 26n
64-bit shared object
.RE
.SH ATTRIBUTES
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
*** 128,135 ****
_
MT-Level See \fBresolver\fR(3RESOLV)
.TE
.SH SEE ALSO
- .sp
- .LP
\fBpvs\fR(1), \fBIntro\fR(3), \fBresolver\fR(3RESOLV), \fBattributes\fR(5)
--- 120,125 ----