msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2013-07-15 16:08+0900\n"
-"PO-Revision-Date: 2013-07-22 04:53+0900\n"
+"PO-Revision-Date: 2013-07-24 03:05+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
msgid ""
"Before glibc 2.17, the B<bindresvport>() function uses a static variable "
"that is not protected, so it is not thread-safe."
-msgstr ""
+msgstr "glibc 2.17 より前のバージョンでは、 B<bindresvport>() 関数は保護されていない静的変数を使用しているため、スレッドセーフではない。"
#. commit f6da27e53695ad1cc0e2a9490358decbbfdff5e5
#. type: Plain text
msgid ""
"Since glibc 2.17, the B<bindresvport>() function uses a lock to protect "
"static variable, so it is thread-safe."
-msgstr ""
+msgstr "glibc 2.17 以降では、 B<bindresvport>() 関数は静的変数を保護するロックを使っており、スレッドセーフである。"
#. type: Plain text
#: build/C/man3/bindresvport.3:107
"This option, which is currently supported only for B<unix>(7) sockets, sets "
"the value of the \"peek offset\" for the B<recv(2)> system call when used "
"with B<MSG_PEEK> flag."
-msgstr ""
+msgstr "B<MSG_PEEK> フラグと一緒に使用された場合 B<recv>(2) システムコールの \"peek offset\" にこのオプションの値が設定される。現在のところ、このオプションは B<unix>(7) ソケットでのみサポートされている。"
#. type: Plain text
#: build/C/man7/socket.7:453
"When this option is set to a negative value (it is set to -1 for all new "
"sockets), traditional behavior is provided: B<recv(2)> with the B<MSG_PEEK> "
"flag will peek data from the front of the queue."
-msgstr ""
+msgstr "このオプションが負の値に設定された場合、従来の動作となる。 つまり B<MSG_PEEK> フラグが指定された B<recv>(2) は、キューの先頭のデータに対して peek 処理を行う (データを読み出すが、キューからデータの削除を行わない)。 新規のソケットではこのオプションの値は必ず -1 に設定される。"
#. type: Plain text
#: build/C/man7/socket.7:460
"specified by the option value. At the same time, the \"peek offset\" will "
"be incremented by the number of bytes that were peeked from the queue, so "
"that a subsequent peek will return the next data in the queue.i"
-msgstr ""
+msgstr "このオプションに 0 以上の値が設定されると、 そのソケットのキュー上のオプション値で指定されたバイトオフセットにあるデータが次の peek 処理で返される。 同時に、 \"peek offset\" がキューから peek 処理されたバイト数だけ加算される。したがって、次の peek 処理ではキューのその次にあるデータが返される。"
#. type: Plain text
#: build/C/man7/socket.7:472
"the correct relative position in the queued data, so that a subsequent peek "
"will retrieve the data that would have been retrieved had the data not been "
"removed."
-msgstr ""
+msgstr "B<recv>(2) (や同様のシステムコール) の B<MSG_PEEK> フラグなしの呼び出しでキューの先頭のデータが削除された場合、 \"peek offset\" は削除されたバイト数だけ減算される。 言い換えると、 B<MSG_PEEK> フラグなしでデータを受信すると、 \"peek offset\" が指すキュー内の相対的な位置が狂わないように調整され、この後の peek では、 データ削除が行われなかった場合に返されたのと同じ値が返されるということである。"
#. type: Plain text
#: build/C/man7/socket.7:477
msgid ""
"For datagram sockets, if the \"peek offset\" points to the middle of a "
"packet, the data returned will be marked with the B<MSG_TRUNC> flag."
-msgstr ""
+msgstr "データグラムソケットでは、 \"peek offset\" がパケットの途中を指している場合には、 返されるデータには B<MSG_TRUNC> フラグが付与される。"
#. type: Plain text
#: build/C/man7/socket.7:481
msgid ""
"The following example serves to illustrate the use of B<SO_PEEK_OFF>. "
"Suppose a stream socket has the following queued input data:"
-msgstr ""
+msgstr "以下の例は B<SO_PEEK_OFF> の利用例を示している。ストリームソケットのキューに以下の入力データが入っているものとする。"
#. type: Plain text
#: build/C/man7/socket.7:483
#, no-wrap
msgid " aabbccddeeff\n"
-msgstr ""
+msgstr " aabbccddeeff\n"
#. type: Plain text
#: build/C/man7/socket.7:488
msgid ""
"The following sequence of B<recv>(2) calls would have the effect noted in "
"the comments:"
-msgstr ""
+msgstr "以下の順序で B<recv>(2) の呼び出しを行うと、コメントに書かれた結果となる。"
#. type: Plain text
#: build/C/man7/socket.7:493
"int ov = 4; // Set peek offset to 4\n"
"setsockopt(fd, SOL_SOCKET, SO_PEEK_OFF, &ov, sizeof(ov));\n"
msgstr ""
+"int ov = 4; // Set peek offset to 4\n"
+"setsockopt(fd, SOL_SOCKET, SO_PEEK_OFF, &ov, sizeof(ov));\n"
#. type: Plain text
#: build/C/man7/socket.7:498
"recv(fd, buf, 2, 0); // Reads \"aa\"; offset set to 6\n"
"recv(fd, buf, 2, MSG_PEEK); // Peeks \"ee\"; offset set to 8\n"
msgstr ""
+"recv(fd, buf, 2, MSG_PEEK); // Peeks \"cc\"; offset set to 6\n"
+"recv(fd, buf, 2, MSG_PEEK); // Peeks \"dd\"; offset set to 8\n"
+"recv(fd, buf, 2, 0); // Reads \"aa\"; offset set to 6\n"
+"recv(fd, buf, 2, MSG_PEEK); // Peeks \"ee\"; offset set to 8\n"
#. type: TP
#: build/C/man7/socket.7:500