summaryrefslogtreecommitdiff
path: root/usr/src/man/man3socket/getipnodebyname.3socket
diff options
context:
space:
mode:
authorYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
committerYuri Pankov <yuri.pankov@nexenta.com>2011-10-03 04:36:40 -0700
commited22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab (patch)
tree3b2f488c4a03bda877119449bd63c01fa32aa6f2 /usr/src/man/man3socket/getipnodebyname.3socket
parentaf8dc4373b25cce2c0bbb80f24e791f99eccbb6f (diff)
downloadillumos-joyent-ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab.tar.gz
1502 Remove conversion cruft from manpages
Reviewed by: Alexander Eremin <alexander.eremin@nexenta.com> Reviewed by: Gordon Ross <gordon.w.ross@gmail.com> Reviewed by: Garrett D'Amore <garrett.damore@gmail.com>
Diffstat (limited to 'usr/src/man/man3socket/getipnodebyname.3socket')
-rw-r--r--usr/src/man/man3socket/getipnodebyname.3socket47
1 files changed, 7 insertions, 40 deletions
diff --git a/usr/src/man/man3socket/getipnodebyname.3socket b/usr/src/man/man3socket/getipnodebyname.3socket
index 446d4580c6..7cc3f4b408 100644
--- a/usr/src/man/man3socket/getipnodebyname.3socket
+++ b/usr/src/man/man3socket/getipnodebyname.3socket
@@ -3,7 +3,7 @@
.\" 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 getipnodebyname 3SOCKET "22 Aug 2007" "SunOS 5.11" "Sockets Library Functions"
+.TH GETIPNODEBYNAME 3SOCKET "Aug 22, 2007"
.SH NAME
getipnodebyname, getipnodebyaddr, freehostent \- get IP node entry
.SH SYNOPSIS
@@ -31,78 +31,64 @@ getipnodebyname, getipnodebyaddr, freehostent \- get IP node entry
.SH PARAMETERS
.sp
.ne 2
-.mk
.na
\fB\fIaf\fR\fR
.ad
.RS 13n
-.rt
Address family
.RE
.sp
.ne 2
-.mk
.na
\fB\fIflags\fR\fR
.ad
.RS 13n
-.rt
Various flags
.RE
.sp
.ne 2
-.mk
.na
\fB\fIname\fR\fR
.ad
.RS 13n
-.rt
Name of host
.RE
.sp
.ne 2
-.mk
.na
\fB\fIerror_num\fR\fR
.ad
.RS 13n
-.rt
Error storage
.RE
.sp
.ne 2
-.mk
.na
\fB\fIsrc\fR\fR
.ad
.RS 13n
-.rt
Address for lookup
.RE
.sp
.ne 2
-.mk
.na
\fB\fIlen\fR\fR
.ad
.RS 13n
-.rt
Length of address
.RE
.sp
.ne 2
-.mk
.na
\fB\fIptr\fR\fR
.ad
.RS 13n
-.rt
Pointer to \fBhostent\fR structure
.RE
@@ -279,56 +265,46 @@ dotted-decimal IPv4 address and \fIaf\fR equals \fBAF_INET\fR and when
members of the returned \fBhostent\fR structure are:
.sp
.ne 2
-.mk
.na
\fB\fBh_name\fR\fR
.ad
.RS 15n
-.rt
Pointer to a copy of the name argument
.RE
.sp
.ne 2
-.mk
.na
\fB\fBh_aliases\fR\fR
.ad
.RS 15n
-.rt
\fINULL\fR pointer.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBh_addrtype\fR\fR
.ad
.RS 15n
-.rt
Copy of the \fIaf\fR argument.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBh_length\fR\fR
.ad
.RS 15n
-.rt
4 for \fBAF_INET\fR or 16 for \fBAF_INET6\fR.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBh_addr_list\fR\fR
.ad
.RS 15n
-.rt
Array of pointers to 4-byte or 16-byte binary addresses. The array is
terminated by a \fINULL\fR pointer.
.RE
@@ -371,23 +347,19 @@ to support thread-safe error code returns. The following error conditions can
be returned for \fBerror_num\fR:
.sp
.ne 2
-.mk
.na
\fB\fBHOST_NOT_FOUND\fR\fR
.ad
.RS 18n
-.rt
Host is unknown.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBNO_DATA\fR\fR
.ad
.RS 18n
-.rt
No address is available for the \fIname\fR specified in the server request.
This error is not a soft error. Another type of \fIname\fR server request might
be successful.
@@ -395,23 +367,19 @@ be successful.
.sp
.ne 2
-.mk
.na
\fB\fBNO_RECOVERY\fR\fR
.ad
.RS 18n
-.rt
An unexpected server failure occurred, which is a non-recoverable error.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBTRY_AGAIN\fR\fR
.ad
.RS 18n
-.rt
This error is a soft error that indicates that the local server did not receive
a response from an authoritative server. A retry at some later time might be
successful.
@@ -528,15 +496,14 @@ See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.TS
-tab() box;
-cw(2.75i) |cw(2.75i)
-lw(2.75i) |lw(2.75i)
-.
-ATTRIBUTE TYPEATTRIBUTE VALUE
+box;
+c | c
+l | l .
+ATTRIBUTE TYPE ATTRIBUTE VALUE
_
-Interface StabilityCommitted
+Interface Stability Committed
_
-MT-LevelSafe
+MT-Level Safe
.TE
.SH SEE ALSO