.\" Modified Sat Jul 24 21:29:05 1993 by Rik Faith (faith@cs.unc.edu)
.\" Modified Thu Jul 26 14:06:20 2001 by Andries Brouwer (aeb@cwi.nl)
.\"
-.\" Japanese Version Copyright (c) 1998 NAKANO Takeo all rights reserved.
-.\" Translated 1998-05-18, NAKANO Takeo <nakano@apm.seikei.ac.jp>
-.\" Updated 2005-11-04, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>
+.\"*******************************************************************
.\"
-.TH BYTEORDER 3 2009-01-15 "GNU" "Linux Programmer's Manual"
+.\" This file was generated with po4a. Translate the source file.
+.\"
+.\"*******************************************************************
+.TH BYTEORDER 3 2009\-01\-15 GNU "Linux Programmer's Manual"
.SH 名前
htonl, htons, ntohl, ntohs \- ホストバイトオーダーとネットワークバイトオーダーの間で値を変換する
.SH 書式
.nf
-.B #include <arpa/inet.h>
+\fB#include <arpa/inet.h>\fP
.sp
-.BI "uint32_t htonl(uint32_t " hostlong );
+\fBuint32_t htonl(uint32_t \fP\fIhostlong\fP\fB);\fP
.sp
-.BI "uint16_t htons(uint16_t " hostshort );
+\fBuint16_t htons(uint16_t \fP\fIhostshort\fP\fB);\fP
.sp
-.BI "uint32_t ntohl(uint32_t " netlong );
+\fBuint32_t ntohl(uint32_t \fP\fInetlong\fP\fB);\fP
.sp
-.BI "uint16_t ntohs(uint16_t " netshort );
+\fBuint16_t ntohs(uint16_t \fP\fInetshort\fP\fB);\fP
.fi
.SH 説明
-.BR htonl ()
-関数は unsigned integer \fIhostlong\fP を
+\fBhtonl\fP() 関数は unsigned integer \fIhostlong\fP を
ホストバイトオーダーからネットワークバイトオーダーに変換する。
.PP
-.BR htons ()
-関数は unsigned short integer \fIhostshort\fP を
+\fBhtons\fP() 関数は unsigned short integer \fIhostshort\fP を
ホストバイトオーダーからネットワークバイトオーダーに変換する。
.PP
-.BR ntohl ()
-関数は unsigned integer \fInetlong\fP を
+\fBntohl\fP() 関数は unsigned integer \fInetlong\fP を
ネットワークバイトオーダーからホストバイトオーダーに変換する。
.PP
-.BR ntohs ()
-関数は unsigned short integer \fInetshort\fP を
+\fBntohs\fP() 関数は unsigned short integer \fInetshort\fP を
ネットワークバイトオーダーからホストバイトオーダーに変換する。
.PP
-i80x86 のホストバイトオーダーでは最下位バイトが若いアドレスに配置されるが、
-インターネットで用いられるネットワークバイトオーダーでは最上位バイト
+i80x86 のホストバイトオーダーでは最下位バイトが若いアドレスに配置されるが、 インターネットで用いられるネットワークバイトオーダーでは最上位バイト
が先に配置される。
.SH 準拠
-POSIX.1-2001.
+POSIX.1\-2001.
-いくつかのシステムでは、
-.I <arpa/inet.h>
-の代わりに
-.I <netinet/in.h>
+いくつかのシステムでは、 \fI<arpa/inet.h>\fP の代わりに \fI<netinet/in.h>\fP
をインクルードする必要がある。
.SH 関連項目
-.BR endian (3),
-.BR gethostbyname (3),
-.BR getservent (3)
+\fBendian\fP(3), \fBgethostbyname\fP(3), \fBgetservent\fP(3)