diff options
author | Robert Mustacchi <rm@joyent.com> | 2013-01-03 15:33:10 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2013-01-03 16:04:31 +0000 |
commit | 84bbf930fc8d4aefd2ab9c2596d1bf2109102c4b (patch) | |
tree | 7aeca219a74a001a3aa30be81c1fc7e880f053a0 | |
parent | 3764ac40a19517d3e590b1fccc743021c0374f63 (diff) | |
download | illumos-joyent-84bbf930fc8d4aefd2ab9c2596d1bf2109102c4b.tar.gz |
OS-1788 need manual page for htonll and ntohll
OS-1787 missing man 3xnet manual pages
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
-rw-r--r-- | manifest | 30 | ||||
-rw-r--r-- | usr/src/man/man3xnet/Makefile | 4 | ||||
-rw-r--r-- | usr/src/man/man3xnet/htonl.3xnet | 29 | ||||
-rw-r--r-- | usr/src/man/man3xnet/htonll.3xnet | 1 | ||||
-rw-r--r-- | usr/src/man/man3xnet/ntohll.3xnet | 1 |
5 files changed, 56 insertions, 9 deletions
@@ -14999,23 +14999,53 @@ f usr/share/man/man3xnet/endprotoent.3xnet 0444 root bin f usr/share/man/man3xnet/endservent.3xnet 0444 root bin f usr/share/man/man3xnet/freeaddrinfo.3xnet 0444 root bin f usr/share/man/man3xnet/gai_strerror.3xnet 0444 root bin +f usr/share/man/man3xnet/getaddrinfo.3xnet 0444 root bin +f usr/share/man/man3xnet/gethostbyaddr.3xnet 0444 root bin +f usr/share/man/man3xnet/gethostbyname.3xnet 0444 root bin +f usr/share/man/man3xnet/gethostent.3xnet 0444 root bin f usr/share/man/man3xnet/gethostname.3xnet 0444 root bin f usr/share/man/man3xnet/getnameinfo.3xnet 0444 root bin +f usr/share/man/man3xnet/getnetbyaddr.3xnet 0444 root bin +f usr/share/man/man3xnet/getnetbyname.3xnet 0444 root bin +f usr/share/man/man3xnet/getnetent.3xnet 0444 root bin f usr/share/man/man3xnet/getpeername.3xnet 0444 root bin +f usr/share/man/man3xnet/getprotobyname.3xnet 0444 root bin +f usr/share/man/man3xnet/getprotobynumber.3xnet 0444 root bin +f usr/share/man/man3xnet/getprotoent.3xnet 0444 root bin +f usr/share/man/man3xnet/getservbyname.3xnet 0444 root bin +f usr/share/man/man3xnet/getservbyport.3xnet 0444 root bin +f usr/share/man/man3xnet/getservent.3xnet 0444 root bin f usr/share/man/man3xnet/getsockname.3xnet 0444 root bin f usr/share/man/man3xnet/getsockopt.3xnet 0444 root bin f usr/share/man/man3xnet/htonl.3xnet 0444 root bin +f usr/share/man/man3xnet/htonll.3xnet 0444 root bin +f usr/share/man/man3xnet/htons.3xnet 0444 root bin +f usr/share/man/man3xnet/if_freenameindex.3xnet 0444 root bin +f usr/share/man/man3xnet/if_indextoname.3xnet 0444 root bin +f usr/share/man/man3xnet/if_nameindex.3xnet 0444 root bin f usr/share/man/man3xnet/if_nametoindex.3xnet 0444 root bin f usr/share/man/man3xnet/inet_addr.3xnet 0444 root bin +f usr/share/man/man3xnet/inet_lnaof.3xnet 0444 root bin +f usr/share/man/man3xnet/inet_makeaddr.3xnet 0444 root bin +f usr/share/man/man3xnet/inet_netof.3xnet 0444 root bin +f usr/share/man/man3xnet/inet_network.3xnet 0444 root bin f usr/share/man/man3xnet/inet_ntoa.3xnet 0444 root bin f usr/share/man/man3xnet/inet_ntop.3xnet 0444 root bin +f usr/share/man/man3xnet/inet_pton.3xnet 0444 root bin f usr/share/man/man3xnet/listen.3xnet 0444 root bin +f usr/share/man/man3xnet/ntohl.3xnet 0444 root bin +f usr/share/man/man3xnet/ntohll.3xnet 0444 root bin +f usr/share/man/man3xnet/ntohs.3xnet 0444 root bin f usr/share/man/man3xnet/recv.3xnet 0444 root bin f usr/share/man/man3xnet/recvfrom.3xnet 0444 root bin f usr/share/man/man3xnet/recvmsg.3xnet 0444 root bin f usr/share/man/man3xnet/send.3xnet 0444 root bin f usr/share/man/man3xnet/sendmsg.3xnet 0444 root bin f usr/share/man/man3xnet/sendto.3xnet 0444 root bin +f usr/share/man/man3xnet/sethostent.3xnet 0444 root bin +f usr/share/man/man3xnet/setnetent.3xnet 0444 root bin +f usr/share/man/man3xnet/setprotoent.3xnet 0444 root bin +f usr/share/man/man3xnet/setservent.3xnet 0444 root bin f usr/share/man/man3xnet/setsockopt.3xnet 0444 root bin f usr/share/man/man3xnet/shutdown.3xnet 0444 root bin f usr/share/man/man3xnet/sockatmark.3xnet 0444 root bin diff --git a/usr/src/man/man3xnet/Makefile b/usr/src/man/man3xnet/Makefile index 4996a85a9f..567a6c6055 100644 --- a/usr/src/man/man3xnet/Makefile +++ b/usr/src/man/man3xnet/Makefile @@ -59,6 +59,7 @@ MANSOFILES = getaddrinfo.3xnet \ getservbyname.3xnet \ getservbyport.3xnet \ getservent.3xnet \ + htonll.3xnet \ htons.3xnet \ if_freenameindex.3xnet \ if_indextoname.3xnet \ @@ -70,6 +71,7 @@ MANSOFILES = getaddrinfo.3xnet \ inet_ntoa.3xnet \ inet_pton.3xnet \ ntohl.3xnet \ + ntohll.3xnet \ ntohs.3xnet \ sethostent.3xnet \ setnetent.3xnet \ @@ -96,6 +98,7 @@ getservbyname.3xnet := SOSRC = man3xnet/endservent.3xnet getservbyport.3xnet := SOSRC = man3xnet/endservent.3xnet getservent.3xnet := SOSRC = man3xnet/endservent.3xnet +htonll.3xnet := SOSRC = man3xnet/htonl.3xnet htons.3xnet := SOSRC = man3xnet/htonl.3xnet if_freenameindex.3xnet := SOSRC = man3xnet/if_nametoindex.3xnet @@ -111,6 +114,7 @@ inet_ntoa.3xnet := SOSRC = man3xnet/inet_addr.3xnet inet_pton.3xnet := SOSRC = man3xnet/inet_ntop.3xnet ntohl.3xnet := SOSRC = man3xnet/htonl.3xnet +ntohll.3xnet := SOSRC = man3xnet/htonl.3xnet ntohs.3xnet := SOSRC = man3xnet/htonl.3xnet sethostent.3xnet := SOSRC = man3xnet/endhostent.3xnet diff --git a/usr/src/man/man3xnet/htonl.3xnet b/usr/src/man/man3xnet/htonl.3xnet index aa8470a28e..dda4586eb7 100644 --- a/usr/src/man/man3xnet/htonl.3xnet +++ b/usr/src/man/man3xnet/htonl.3xnet @@ -7,7 +7,8 @@ .\" 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 HTONL 3XNET "Jun 10, 2002" +.\" Portions Copyright (c) 2012 Joyent, Inc. All rights reserved. +.TH HTONL 3XNET "Jan 03, 2013" .SH NAME htonl, htons, ntohl, ntohs \- convert values between host and network byte order @@ -22,6 +23,11 @@ order .LP .nf +\fBuint64_t\fR \fBhtonll\fR(\fBuint64_t\fR \fIhostlonglong\fR); +.fi + +.LP +.nf \fBuint16_t\fR \fBhtons\fR(\fBuint16_t\fR \fIhostshort\fR); .fi @@ -32,18 +38,23 @@ order .LP .nf +\fBuint64_t\fR \fBntohll\fR(\fBuint64_t\fR \fInetlonglong\fR); +.fi + +.LP +.nf \fBuint16_t\fR \fBntohs\fR(\fBuint16_t\fR \fI netshort\fR); .fi .SH DESCRIPTION .sp .LP -These functions convert 16-bit and 32-bit quantities between network byte order -and host byte order. +These functions convert 16-bit, 32-bit, and 64-bit quantities between network +byte order and host byte order. .sp .LP -The \fBuint32_t\fR and \fBuint16_t\fR types are made available by inclusion -of \fB<inttypes.h>\fR\&. +The \fBuint32_t\fR, \fBuint16_t\fR, and \fBuint64_t\fR types are made available +by inclusion of \fB<inttypes.h>\fR\&. .SH USAGE .sp .LP @@ -56,12 +67,12 @@ value of their argument. .SH RETURN VALUES .sp .LP -The \fBhtonl()\fR and \fBhtons()\fR functions return the argument value -converted from host to network byte order. +The \fBhtonl()\fR, \fBhtonll()\fR, and \fBhtons()\fR functions return the +argument value converted from host to network byte order. .sp .LP -The \fBntohl()\fR and \fBntohs()\fR functions return the argument value -converted from network to host byte order. +The \fBntohl()\fR, \fBntohll()\fR, and \fBntohs()\fR functions return the +argument value converted from network to host byte order. .SH ERRORS .sp .LP diff --git a/usr/src/man/man3xnet/htonll.3xnet b/usr/src/man/man3xnet/htonll.3xnet new file mode 100644 index 0000000000..f51c690a6e --- /dev/null +++ b/usr/src/man/man3xnet/htonll.3xnet @@ -0,0 +1 @@ +.so man3xnet/htonl.3xnet diff --git a/usr/src/man/man3xnet/ntohll.3xnet b/usr/src/man/man3xnet/ntohll.3xnet new file mode 100644 index 0000000000..f51c690a6e --- /dev/null +++ b/usr/src/man/man3xnet/ntohll.3xnet @@ -0,0 +1 @@ +.so man3xnet/htonl.3xnet |