summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2015-11-25 12:36:07 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2015-11-25 12:36:07 +0000
commit6ee683911c82eeb1ad4b6751dce434f52cbd1e39 (patch)
tree4205f70a393612c03fc5a205488f5f1c689be88b /usr/src
parent194a7706c1226deb8b3779e71d7ac6a1e96c953c (diff)
parent8c6ffd5964f28b15919c0a4ad3d120f84cedbc3d (diff)
downloadillumos-joyent-release-20151126.tar.gz
[illumos-gate merge]release-20151126
commit 8c6ffd5964f28b15919c0a4ad3d120f84cedbc3d 6448 Typo in byteorder man page
Diffstat (limited to 'usr/src')
-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)