OSDN Git Service

(split) LDP: Update release from ja.po of LDP v3.51
[linuxjm/LDP_man-pages.git] / release / man3 / swab.3
index dbec0d0..686303c 100644 (file)
@@ -1,5 +1,6 @@
 .\" Copyright 1993 David Metcalfe (david@prism.demon.co.uk)
 .\"
+.\" %%%LICENSE_START(VERBATIM)
 .\" Permission is granted to make and distribute verbatim copies of this
 .\" manual provided the copyright notice and this permission notice are
 .\" preserved on all copies.
@@ -19,6 +20,7 @@
 .\"
 .\" Formatted or processed versions of this manual, if unaccompanied by
 .\" the source, must acknowledge the copyright and authors of this work.
+.\" %%%LICENSE_END
 .\"
 .\" References consulted:
 .\"     Linux libc source code
 .\"     386BSD man pages
 .\" Modified Sat Jul 24 17:52:15 1993 by Rik Faith (faith@cs.unc.edu)
 .\" Modified 2001-12-15, aeb
+.\"*******************************************************************
 .\"
-.\" Japanese Version Copyright (c) 1997 HIROFUMI Nishizuka
-.\"    all rights reserved.
-.\" Translated Fri Dec 19 13:24:02 JST 1997
-.\"    by HIROFUMI Nishizuka <nishi@rpts.cl.nec.co.jp>
-.\" Updated Fri Dec 21 JST 2001 by Kentaro Shirakata <argrath@ub32.org>
+.\" This file was generated with po4a. Translate the source file.
 .\"
-.TH SWAB 3  2001-12-15 "" "Linux Programmer's Manual"
-.SH Ì¾Á°
-swab \- ÎÙÀܤ¹¤ë¥Ð¥¤¥È¤ò¸ò´¹¤¹¤ë
-.SH ½ñ¼°
+.\"*******************************************************************
+.TH SWAB 3 2001\-12\-15 "" "Linux Programmer's Manual"
+.SH 名前
+swab \- 隣接するバイトを交換する
+.SH 書式
 .nf
-.B #define _XOPEN_SOURCE
-.B #include <unistd.h>
+\fB#define _XOPEN_SOURCE\fP       /* feature_test_macros(7) 参照 */
+\fB#include <unistd.h>\fP
 .sp
-.BI "void swab(const void *" from ", void *" to ", ssize_t " n );
+\fBvoid swab(const void *\fP\fIfrom\fP\fB, void *\fP\fIto\fP\fB, ssize_t \fP\fIn\fP\fB);\fP
 .fi
-.SH ÀâÌÀ
-.BR swab ()
-´Ø¿ô¤Ï¡¢\fIfrom\fP ¤Ç»Ø¤µ¤ì¤¿ÇÛÎ󤫤é \fIn\fP ¥Ð¥¤¥È¤ò
-\fIto\fP ¤Ç»Ø¤µ¤ì¤¿ÇÛÎó¤Ë¡¢ÎÙÀܤ·¤¿¶ö¿ô/´ñ¿ô¥Ð¥¤¥È¤ò¸ò´¹¤·¤Ê¤¬¤é¥³¥Ô¡¼¤¹¤ë¡£
-¤³¤Î´Ø¿ô¤Ï°Û¤Ê¤ë¥Ð¥¤¥È¥ª¡¼¥À¡¼¤ò»ý¤Ä¥Þ¥·¥ó´Ö¤Ç¤Î¥Ç¡¼¥¿¸ò´¹¤Ë
-»ÈÍѤµ¤ì¤ë¡£
+.SH 説明
+\fBswab\fP()  関数は、\fIfrom\fP で指された配列から \fIn\fP バイトを \fIto\fP
+で指された配列に、隣接した偶数/奇数バイトを交換しながらコピーする。 この関数は異なるバイトオーダーを持つマシン間でのデータ交換に 使用される。
 .LP
-\fIn\fP ¤¬Éé¤Î¿ô¤Î¾ì¹ç¡¢¤³¤Î´Ø¿ô¤Ï²¿¤â¤·¤Ê¤¤¡£
-\fIn\fP ¤¬Àµ¤Ç¤«¤Ä´ñ¿ô¤Î¾ì¹ç¡¢\fIn\-1\fP ¥Ð¥¤¥È¤Ï¾åµ­¤ÎÄ̤갷¤¤¡¢
-ºÇ¸å¤Î¥Ð¥¤¥È¤Ë¤Ä¤¤¤Æ¤Ï̤µ¬Äê¤ÎÆ°ºî¤ò¤¹¤ë
-(¸À¤¤´¹¤¨¤ì¤Ð¡¢\fIn\fP ¤Ï¶ö¿ô¤Ë¤¹¤ë¤Ù¤­¤Ç¤¢¤ë)¡£
-.SH ÊÖ¤êÃÍ
-.BR swab ()
-´Ø¿ô¤Ï¡¢ÃͤòÊÖ¤µ¤Ê¤¤¡£
-.SH ½àµò
-SVr4, 4.3BSD, POSIX.1-2001.
-.SH ´ØÏ¢¹àÌÜ
-.BR bstring (3),
-.BR feature_test_macros (7)
+\fIn\fP が負の数の場合、この関数は何もしない。 \fIn\fP が正でかつ奇数の場合、\fIn\-1\fP バイトは上記の通り扱い、
+最後のバイトについては未規定の動作をする (言い換えれば、\fIn\fP は偶数にするべきである)。
+.SH 返り値
+\fBswab\fP()  関数は、値を返さない。
+.SH 準拠
+SVr4, 4.3BSD, POSIX.1\-2001.
+.SH 関連項目
+\fBbstring\fP(3)
+.SH この文書について
+この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.51 の一部
+である。プロジェクトの説明とバグ報告に関する情報は
+http://www.kernel.org/doc/man\-pages/ に書かれている。