summaryrefslogtreecommitdiff
path: root/usr/src/man/man3xnet/inet_addr.3xnet
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/man/man3xnet/inet_addr.3xnet')
-rw-r--r--usr/src/man/man3xnet/inet_addr.3xnet29
1 files changed, 10 insertions, 19 deletions
diff --git a/usr/src/man/man3xnet/inet_addr.3xnet b/usr/src/man/man3xnet/inet_addr.3xnet
index 6a271627c1..c203cc989a 100644
--- a/usr/src/man/man3xnet/inet_addr.3xnet
+++ b/usr/src/man/man3xnet/inet_addr.3xnet
@@ -1,14 +1,14 @@
'\" te
-.\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved
+.\" Copyright (c) 1992, X/Open Company Limited All Rights Reserved
.\" Portions Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved
-.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
+.\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for permission to reproduce portions of its copyrighted documentation. Original documentation from The Open Group can be obtained online at
.\" http://www.opengroup.org/bookstore/.
.\" The Institute of Electrical and Electronics Engineers and The Open Group, have given us permission to reprint portions of their documentation. In the following statement, the phrase "this text" refers to portions of the system documentation. Portions of this text are reprinted and reproduced in electronic form in the Sun OS Reference Manual, from IEEE Std 1003.1, 2004 Edition, Standard for Information Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifications Issue 6, Copyright (C) 2001-2004 by the Institute of Electrical and Electronics Engineers, Inc and The Open Group. In the event of any discrepancy between these versions and the original IEEE and The Open Group Standard, the original IEEE and The Open Group Standard is the referee document. The original Standard can be obtained online at http://www.opengroup.org/unix/online.html.
.\" This notice shall appear on any product containing this material.
.\" 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 inet_addr 3XNET "10 Jun 2002" "SunOS 5.11" "X/Open Networking Services Library Functions"
+.TH INET_ADDR 3XNET "Jun 10, 2002"
.SH NAME
inet_addr, inet_network, inet_makeaddr, inet_lnaof, inet_netof, inet_ntoa \-
Internet address manipulation
@@ -16,7 +16,7 @@ Internet address manipulation
.LP
.nf
\fBcc\fR [ \fIflag\fR ... ] \fIfile\fR ... \fB-lxnet\fR [ \fIlibrary\fR ... ]
-#include <arpa/inet.h>
+#include <arpa/inet.h>
\fBin_addr_t\fR \fBinet_addr\fR(\fBconst char *\fR\fIcp\fR);
.fi
@@ -83,24 +83,20 @@ to right).
Values specified using dot notation take one of the following forms:
.sp
.ne 2
-.mk
.na
\fB\fBa.b.c.d\fR\fR
.ad
.RS 11n
-.rt
When four parts are specified, each is interpreted as a byte of data and
assigned, from left to right, to the four bytes of an Internet address.
.RE
.sp
.ne 2
-.mk
.na
\fB\fBa.b.c\fR\fR
.ad
.RS 11n
-.rt
When a three-part address is specified, the last part is interpreted as a
16-bit quantity and placed in the rightmost two bytes of the network address.
This makes the three-part address format convenient for specifying Class B
@@ -109,12 +105,10 @@ network addresses as \fB128.\fR\fInet\fR.\fIhost\fR.
.sp
.ne 2
-.mk
.na
\fB\fBa.b\fR\fR
.ad
.RS 11n
-.rt
When a two-part address is supplied, the last part is interpreted as a 24-bit
quantity and placed in the rightmost three bytes of the network address. This
makes the two-part address format convenient for specifying Class A network
@@ -123,12 +117,10 @@ addresses as \fInet\fR\fB\&.\fR\fIhost\fR.
.sp
.ne 2
-.mk
.na
\fB\fBa\fR\fR
.ad
.RS 11n
-.rt
When only one part is given, the value is stored directly in the network
address without any byte rearrangement.
.RE
@@ -178,15 +170,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 StabilityStandard
+Interface Stability Standard
_
-MT-LevelMT-Safe
+MT-Level MT-Safe
.TE
.SH SEE ALSO