summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Sproul <eric.sproul@circonus.com>2015-11-23 14:37:44 -0500
committerRobert Mustacchi <rm@joyent.com>2015-11-23 21:17:42 -0800
commit8c6ffd5964f28b15919c0a4ad3d120f84cedbc3d (patch)
treefd41fe1cb6d82386c16ada9c3e4b1de483a9d1e3
parentc4567a616165806d1420a481659f5e10a97a1395 (diff)
downloadillumos-joyent-8c6ffd5964f28b15919c0a4ad3d120f84cedbc3d.tar.gz
6448 Typo in byteorder man page
Reviewed by: Robert Mustacchi <rm@joyent.com> Reviewed by: Dan McDonald <danmcd@omniti.com> Reviewed by: Marcel Telka <marcel@telka.sk> Approved by: Robert Mustacchi <rm@joyent.com>
-rw-r--r--usr/src/man/man3socket/byteorder.3socket7
1 files changed, 2 insertions, 5 deletions
diff --git a/usr/src/man/man3socket/byteorder.3socket b/usr/src/man/man3socket/byteorder.3socket
index ec7cd3b497..bb5e22fc46 100644
--- a/usr/src/man/man3socket/byteorder.3socket
+++ b/usr/src/man/man3socket/byteorder.3socket
@@ -4,7 +4,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 BYTEORDER 3SOCKET "Sep 10, 2008"
+.TH BYTEORDER 3SOCKET "Nov 23, 2015"
.SH NAME
byteorder, htonl, htonll, htons, ntohl, ntohll, ntohs \- convert values between
host and network byte order
@@ -36,7 +36,7 @@ host and network byte order
.LP
.nf
-\fBuint64_t\fR \fBntonll\fR(\fBuint64_t\fR \fIhostlonglong\fR);
+\fBuint64_t\fR \fBntohll\fR(\fBuint64_t\fR \fIhostlonglong\fR);
.fi
.LP
@@ -45,7 +45,6 @@ host and network byte order
.fi
.SH DESCRIPTION
-.sp
.LP
These functions convert 16-bit, 32-bit, and 64-bit quantities between network
byte order and host byte order. On some architectures these routines are
@@ -58,7 +57,6 @@ These functions are most often used in conjunction with Internet addresses and
ports as returned by \fBgethostent()\fR and \fBgetservent()\fR. See
\fBgethostbyname\fR(3NSL) and \fBgetservbyname\fR(3SOCKET).
.SH ATTRIBUTES
-.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
@@ -74,7 +72,6 @@ MT-Level Safe
.TE
.SH SEE ALSO
-.sp
.LP
\fBgethostbyname\fR(3NSL), \fBgetservbyname\fR(3SOCKET), \fBinet.h\fR(3HEAD),
\fBattributes\fR(5)