msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
-"POT-Creation-Date: 2012-03-19 23:50+0900\n"
-"PO-Revision-Date: 2012-03-22 02:01+0900\n"
+"POT-Creation-Date: 2012-04-23 07:54+0900\n"
+"PO-Revision-Date: 2012-04-24 16:28+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
#. type: TH
#: build/C/man2/accept.2:39 build/C/man2/bind.2:66 build/C/man2/connect.2:65
#: build/C/man2/getsockname.2:38 build/C/man2/getsockopt.2:42
-#: build/C/man2/listen.2:43 build/C/man2/recv.2:39 build/C/man2/recvmmsg.2:24
+#: build/C/man2/listen.2:43 build/C/man2/recv.2:39 build/C/man2/recvmmsg.2:26
#: build/C/man2/select.2:38 build/C/man2/select_tut.2:30
-#: build/C/man2/send.2:38 build/C/man3/sockatmark.3:23
-#: build/C/man2/socket.2:41 build/C/man7/socket.7:26
-#: build/C/man2/socketcall.2:26 build/C/man2/socketpair.2:40
+#: build/C/man2/send.2:38 build/C/man2/sendmmsg.2:28
+#: build/C/man3/sockatmark.3:23 build/C/man2/socket.2:41
+#: build/C/man7/socket.7:26 build/C/man2/socketcall.2:26
+#: build/C/man2/socketpair.2:40
#, no-wrap
msgid "Linux"
msgstr "Linux"
#: build/C/man3/bindresvport.3:27 build/C/man2/connect.2:65
#: build/C/man3/getifaddrs.3:33 build/C/man2/getsockname.2:38
#: build/C/man2/getsockopt.2:42 build/C/man2/listen.2:43
-#: build/C/man2/recv.2:39 build/C/man2/recvmmsg.2:24 build/C/man2/select.2:38
+#: build/C/man2/recv.2:39 build/C/man2/recvmmsg.2:26 build/C/man2/select.2:38
#: build/C/man2/select_tut.2:30 build/C/man2/send.2:38
-#: build/C/man3/sockatmark.3:23 build/C/man2/socket.2:41
-#: build/C/man7/socket.7:26 build/C/man2/socketcall.2:26
-#: build/C/man2/socketpair.2:40
+#: build/C/man2/sendmmsg.2:28 build/C/man3/sockatmark.3:23
+#: build/C/man2/socket.2:41 build/C/man7/socket.7:26
+#: build/C/man2/socketcall.2:26 build/C/man2/socketpair.2:40
#, no-wrap
msgid "Linux Programmer's Manual"
msgstr "Linux Programmer's Manual"
#: build/C/man3/bindresvport.3:28 build/C/man2/connect.2:66
#: build/C/man3/getifaddrs.3:34 build/C/man2/getsockname.2:39
#: build/C/man2/getsockopt.2:43 build/C/man2/listen.2:44
-#: build/C/man2/recv.2:40 build/C/man2/recvmmsg.2:25 build/C/man2/select.2:39
+#: build/C/man2/recv.2:40 build/C/man2/recvmmsg.2:27 build/C/man2/select.2:39
#: build/C/man2/select_tut.2:31 build/C/man2/send.2:39
-#: build/C/man3/sockatmark.3:24 build/C/man2/socket.2:42
-#: build/C/man7/socket.7:27 build/C/man2/socketcall.2:27
-#: build/C/man2/socketpair.2:41
+#: build/C/man2/sendmmsg.2:29 build/C/man3/sockatmark.3:24
+#: build/C/man2/socket.2:42 build/C/man7/socket.7:27
+#: build/C/man2/socketcall.2:27 build/C/man2/socketpair.2:41
#, no-wrap
msgid "NAME"
msgstr "名前"
#: build/C/man3/bindresvport.3:30 build/C/man2/connect.2:68
#: build/C/man3/getifaddrs.3:36 build/C/man2/getsockname.2:41
#: build/C/man2/getsockopt.2:45 build/C/man2/listen.2:46
-#: build/C/man2/recv.2:42 build/C/man2/recvmmsg.2:27 build/C/man2/select.2:42
+#: build/C/man2/recv.2:42 build/C/man2/recvmmsg.2:29 build/C/man2/select.2:42
#: build/C/man2/select_tut.2:34 build/C/man2/send.2:41
-#: build/C/man3/sockatmark.3:26 build/C/man2/socket.2:44
-#: build/C/man7/socket.7:29 build/C/man2/socketcall.2:29
-#: build/C/man2/socketpair.2:43
+#: build/C/man2/sendmmsg.2:31 build/C/man3/sockatmark.3:26
+#: build/C/man2/socket.2:44 build/C/man7/socket.7:29
+#: build/C/man2/socketcall.2:29 build/C/man2/socketpair.2:43
#, no-wrap
msgid "SYNOPSIS"
msgstr "書式"
#: build/C/man3/bindresvport.3:37 build/C/man2/connect.2:77
#: build/C/man3/getifaddrs.3:45 build/C/man2/getsockname.2:48
#: build/C/man2/getsockopt.2:56 build/C/man2/listen.2:54
-#: build/C/man2/recv.2:57 build/C/man2/recvmmsg.2:37 build/C/man2/select.2:81
+#: build/C/man2/recv.2:57 build/C/man2/recvmmsg.2:39 build/C/man2/select.2:81
#: build/C/man2/select_tut.2:73 build/C/man2/send.2:56
-#: build/C/man3/sockatmark.3:40 build/C/man2/socket.2:50
-#: build/C/man7/socket.7:33 build/C/man2/socketcall.2:31
-#: build/C/man2/socketpair.2:50
+#: build/C/man2/sendmmsg.2:40 build/C/man3/sockatmark.3:40
+#: build/C/man2/socket.2:50 build/C/man7/socket.7:33
+#: build/C/man2/socketcall.2:31 build/C/man2/socketpair.2:50
#, no-wrap
msgid "DESCRIPTION"
msgstr "説明"
#. type: SH
#: build/C/man2/accept.2:178 build/C/man2/bind.2:150
#: build/C/man3/bindresvport.3:64 build/C/man2/connect.2:125
-#: build/C/man2/getsockname.2:65 build/C/man2/getsockopt.2:129
-#: build/C/man2/listen.2:80 build/C/man2/recv.2:386
-#: build/C/man2/recvmmsg.2:139 build/C/man2/select.2:285
-#: build/C/man2/select_tut.2:483 build/C/man2/send.2:273
+#: build/C/man3/getifaddrs.3:137 build/C/man2/getsockname.2:65
+#: build/C/man2/getsockopt.2:129 build/C/man2/listen.2:80
+#: build/C/man2/recv.2:386 build/C/man2/recvmmsg.2:141
+#: build/C/man2/select.2:285 build/C/man2/select_tut.2:483
+#: build/C/man2/send.2:273 build/C/man2/sendmmsg.2:119
#: build/C/man3/sockatmark.3:49 build/C/man2/socket.2:312
#: build/C/man2/socketpair.2:67
#, no-wrap
#: build/C/man3/bindresvport.3:69 build/C/man2/connect.2:130
#: build/C/man3/getifaddrs.3:144 build/C/man2/getsockname.2:70
#: build/C/man2/getsockopt.2:134 build/C/man2/listen.2:85
-#: build/C/man2/recv.2:391 build/C/man2/recvmmsg.2:147
+#: build/C/man2/recv.2:391 build/C/man2/recvmmsg.2:149
#: build/C/man2/select.2:302 build/C/man2/send.2:278
-#: build/C/man3/sockatmark.3:54 build/C/man2/socket.2:317
-#: build/C/man2/socketpair.2:72
+#: build/C/man2/sendmmsg.2:133 build/C/man3/sockatmark.3:54
+#: build/C/man2/socket.2:317 build/C/man2/socketpair.2:72
#, no-wrap
msgid "ERRORS"
msgstr "エラー"
#: build/C/man2/accept.2:237 build/C/man2/accept.2:242 build/C/man2/bind.2:167
#: build/C/man2/bind.2:193 build/C/man2/getsockname.2:82
#: build/C/man2/getsockopt.2:150 build/C/man2/recv.2:423
-#: build/C/man2/recvmmsg.2:151 build/C/man2/select.2:312
+#: build/C/man2/recvmmsg.2:153 build/C/man2/select.2:312
#: build/C/man2/send.2:315 build/C/man3/sockatmark.3:59
#: build/C/man2/socket.2:325 build/C/man2/socket.2:328
#, no-wrap
#. type: SH
#: build/C/man2/accept.2:287 build/C/man3/getifaddrs.3:157
-#: build/C/man2/recvmmsg.2:155 build/C/man2/select.2:321
-#: build/C/man3/sockatmark.3:66 build/C/man7/socket.7:697
+#: build/C/man2/recvmmsg.2:157 build/C/man2/select.2:321
+#: build/C/man2/sendmmsg.2:145 build/C/man3/sockatmark.3:66
+#: build/C/man7/socket.7:697
#, no-wrap
msgid "VERSIONS"
msgstr "バージョン"
#: build/C/man3/bindresvport.3:89 build/C/man2/connect.2:223
#: build/C/man3/getifaddrs.3:165 build/C/man2/getsockname.2:95
#: build/C/man2/getsockopt.2:169 build/C/man2/listen.2:104
-#: build/C/man2/recv.2:443 build/C/man2/recvmmsg.2:160
+#: build/C/man2/recv.2:443 build/C/man2/recvmmsg.2:162
#: build/C/man2/select.2:327 build/C/man2/send.2:363
-#: build/C/man3/sockatmark.3:69 build/C/man2/socket.2:350
-#: build/C/man2/socketcall.2:43 build/C/man2/socketpair.2:93
+#: build/C/man2/sendmmsg.2:150 build/C/man3/sockatmark.3:69
+#: build/C/man2/socket.2:350 build/C/man2/socketcall.2:43
+#: build/C/man2/socketpair.2:93
#, no-wrap
msgid "CONFORMING TO"
msgstr "準拠"
#: build/C/man2/getsockopt.2:176 build/C/man2/listen.2:109
#: build/C/man2/recv.2:453 build/C/man2/select.2:342
#: build/C/man2/select_tut.2:501 build/C/man2/send.2:377
-#: build/C/man3/sockatmark.3:71 build/C/man2/socket.2:364
-#: build/C/man7/socket.7:711 build/C/man2/socketcall.2:46
-#: build/C/man2/socketpair.2:101
+#: build/C/man2/sendmmsg.2:153 build/C/man3/sockatmark.3:71
+#: build/C/man2/socket.2:364 build/C/man7/socket.7:711
+#: build/C/man2/socketcall.2:46 build/C/man2/socketpair.2:101
#, no-wrap
msgid "NOTES"
msgstr "注意"
#: build/C/man2/accept.2:376 build/C/man2/bind.2:252
#: build/C/man2/connect.2:256 build/C/man3/getifaddrs.3:198
#: build/C/man2/listen.2:164 build/C/man2/recv.2:488 build/C/man2/select.2:482
-#: build/C/man2/select_tut.2:527 build/C/man2/send.2:409
+#: build/C/man2/select_tut.2:527 build/C/man2/send.2:414
#: build/C/man3/sockatmark.3:95 build/C/man2/socket.2:382
#, no-wrap
msgid "EXAMPLE"
#: build/C/man3/bindresvport.3:98 build/C/man2/connect.2:261
#: build/C/man3/getifaddrs.3:281 build/C/man2/getsockname.2:110
#: build/C/man2/getsockopt.2:200 build/C/man2/listen.2:167
-#: build/C/man2/recv.2:493 build/C/man2/recvmmsg.2:163
+#: build/C/man2/recv.2:493 build/C/man2/recvmmsg.2:165
#: build/C/man2/select.2:519 build/C/man2/select_tut.2:817
-#: build/C/man2/send.2:414 build/C/man3/sockatmark.3:130
-#: build/C/man2/socket.2:387 build/C/man7/socket.7:742
-#: build/C/man2/socketcall.2:54 build/C/man2/socketpair.2:122
+#: build/C/man2/send.2:419 build/C/man2/sendmmsg.2:168
+#: build/C/man3/sockatmark.3:130 build/C/man2/socket.2:387
+#: build/C/man7/socket.7:742 build/C/man2/socketcall.2:54
+#: build/C/man2/socketpair.2:122
#, no-wrap
msgid "SEE ALSO"
msgstr "関連項目"
#: build/C/man3/bindresvport.3:101 build/C/man2/connect.2:268
#: build/C/man3/getifaddrs.3:287 build/C/man2/getsockname.2:117
#: build/C/man2/getsockopt.2:208 build/C/man2/listen.2:173
-#: build/C/man2/recv.2:504 build/C/man2/recvmmsg.2:170
+#: build/C/man2/recv.2:504 build/C/man2/recvmmsg.2:172
#: build/C/man2/select.2:534 build/C/man2/select_tut.2:836
-#: build/C/man2/send.2:428 build/C/man3/sockatmark.3:135
-#: build/C/man2/socket.2:418 build/C/man7/socket.7:753
-#: build/C/man2/socketcall.2:72 build/C/man2/socketpair.2:129
+#: build/C/man2/send.2:434 build/C/man2/sendmmsg.2:173
+#: build/C/man3/sockatmark.3:135 build/C/man2/socket.2:418
+#: build/C/man7/socket.7:753 build/C/man2/socketcall.2:72
+#: build/C/man2/socketpair.2:129
#, no-wrap
msgid "COLOPHON"
-msgstr ""
+msgstr "この文書について"
#. type: Plain text
#: build/C/man2/accept.2:393 build/C/man2/bind.2:337
#: build/C/man3/bindresvport.3:108 build/C/man2/connect.2:275
#: build/C/man3/getifaddrs.3:294 build/C/man2/getsockname.2:124
#: build/C/man2/getsockopt.2:215 build/C/man2/listen.2:180
-#: build/C/man2/recv.2:511 build/C/man2/recvmmsg.2:177
+#: build/C/man2/recv.2:511 build/C/man2/recvmmsg.2:179
#: build/C/man2/select.2:541 build/C/man2/select_tut.2:843
-#: build/C/man2/send.2:435 build/C/man3/sockatmark.3:142
-#: build/C/man2/socket.2:425 build/C/man7/socket.7:760
-#: build/C/man2/socketcall.2:79 build/C/man2/socketpair.2:136
+#: build/C/man2/send.2:441 build/C/man2/sendmmsg.2:180
+#: build/C/man3/sockatmark.3:142 build/C/man2/socket.2:425
+#: build/C/man7/socket.7:760 build/C/man2/socketcall.2:79
+#: build/C/man2/socketpair.2:136
msgid ""
-"This page is part of release 3.35 of the Linux I<man-pages> project. A "
+"This page is part of release 3.38 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
-"found at http://man7.org/linux/man-pages/."
+"found at http://www.kernel.org/doc/man-pages/."
msgstr ""
+"この man ページは Linux I<man-pages> プロジェクトのリリース 3.38 の一部である。\n"
+"プロジェクトの説明とバグ報告に関する情報は\n"
+"http://www.kernel.org/doc/man-pages/ に書かれている。"
#. type: TH
#: build/C/man2/bind.2:66
#. type: SH
#: build/C/man2/bind.2:249 build/C/man2/getsockopt.2:197
-#: build/C/man2/select.2:423 build/C/man2/send.2:404
+#: build/C/man2/select.2:423 build/C/man2/send.2:409
#: build/C/man3/sockatmark.3:91 build/C/man7/socket.7:729
#, no-wrap
msgid "BUGS"
"The data returned by B<getifaddrs>() is dynamically allocated and should be "
"freed using B<freeifaddrs>() when no longer needed."
-#. type: SH
-#: build/C/man3/getifaddrs.3:137
-#, no-wrap
-msgid "RETURN VALUES"
-msgstr "RETURN VALUES"
-
#. type: Plain text
#: build/C/man3/getifaddrs.3:144
msgid ""
"B<shutdown>(2), B<socket>(2), B<cmsg>(3), B<sockatmark>(3), B<socket>(7)"
#. type: TH
-#: build/C/man2/recvmmsg.2:24
+#: build/C/man2/recvmmsg.2:26
#, no-wrap
msgid "RECVMMSG"
msgstr "RECVMMSG"
#. type: TH
-#: build/C/man2/recvmmsg.2:24
+#: build/C/man2/recvmmsg.2:26
#, no-wrap
msgid "2011-10-04"
msgstr "2011-10-04"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:27
+#: build/C/man2/recvmmsg.2:29
msgid "recvmmsg - receive multiple messages on a socket"
msgstr "recvmmsg - receive multiple messages on a socket"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:31
+#: build/C/man2/recvmmsg.2:33 build/C/man2/sendmmsg.2:35
#, no-wrap
msgid ""
"B<#define _GNU_SOURCE>\n"
"B<#include E<lt>sys/socket.hE<gt>>\n"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:34
+#: build/C/man2/recvmmsg.2:36
#, no-wrap
msgid "B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n"
msgstr "B<int recvmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:36
+#: build/C/man2/recvmmsg.2:38
#, no-wrap
msgid "B< unsigned int >I<flags>B<, struct timespec *>I<timeout>B<);>\n"
msgstr "B< unsigned int >I<flags>B<, struct timespec *>I<timeout>B<);>\n"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:48
+#: build/C/man2/recvmmsg.2:50
msgid ""
"The B<recvmmsg>() system call is an extension of B<recvmsg>(2) that allows "
"the caller to receive multiple messages from a socket using a single system "
"operation."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:52
+#: build/C/man2/recvmmsg.2:54
msgid ""
"The I<sockfd> argument is the file descriptor of the socket to receive data "
"from."
"from."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:60
+#: build/C/man2/recvmmsg.2:62 build/C/man2/sendmmsg.2:62
msgid ""
"The I<msgvec> argument is a pointer to an array of I<mmsghdr> structures. "
"The size of this array is specified in I<vlen>."
"The size of this array is specified in I<vlen>."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:66
+#: build/C/man2/recvmmsg.2:68 build/C/man2/sendmmsg.2:68
msgid "The I<mmsghdr> structure is defined in I<E<lt>sys/socket.hE<gt>> as:"
msgstr "The I<mmsghdr> structure is defined in I<E<lt>sys/socket.hE<gt>> as:"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:73
+#: build/C/man2/recvmmsg.2:75
#, no-wrap
msgid ""
"struct mmsghdr {\n"
"};\n"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:88
+#: build/C/man2/recvmmsg.2:90
msgid ""
"The I<msg_hdr> field is a I<msghdr> structure, as described in B<recvmsg>"
"(2). The I<msg_len> field is the number of bytes returned for the message "
"B<recvmsg>(2) on the header."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:95
+#: build/C/man2/recvmmsg.2:97
msgid ""
"The I<flags> argument contains flags ORed together. The flags are the same "
"as documented for B<recvmsg>(2), with the following addition:"
"as documented for B<recvmsg>(2), with the following addition:"
#. type: TP
-#: build/C/man2/recvmmsg.2:95
+#: build/C/man2/recvmmsg.2:97
#, no-wrap
msgid "B<MSG_WAITFORONE>"
msgstr "B<MSG_WAITFORONE>"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:100
+#: build/C/man2/recvmmsg.2:102
msgid "Turns on B<MSG_DONTWAIT> after the first message has been received."
msgstr "Turns on B<MSG_DONTWAIT> after the first message has been received."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:113
+#: build/C/man2/recvmmsg.2:115
msgid ""
"The I<timeout> argument points to a I<struct timespec> (see B<clock_gettime>"
"(2)) defining a timeout (seconds plus nanoseconds) for the receive "
"operation. If I<timeout> is I<NULL> then the operation blocks indefinitely."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:124
+#: build/C/man2/recvmmsg.2:126
msgid ""
"A blocking B<recvmmsg>() call blocks until I<vlen> messages have been "
"received or until the timeout expires. A nonblocking call reads as many "
"returns immediately."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:139
+#: build/C/man2/recvmmsg.2:141
msgid ""
"On return from B<recvmmsg>(), successive elements of I<msgvec> are updated "
"to contain information about each received message: I<msg_len> contains the "
"number of elements of I<msgvec> that have been updated."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:147
+#: build/C/man2/recvmmsg.2:149
msgid ""
"On success, B<recvmmsg>() returns the number of messages received in "
"I<msgvec>; on error, -1 is returned, and I<errno> is set to indicate the "
"error."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:151
+#: build/C/man2/recvmmsg.2:153
msgid ""
"Errors are as for B<recvmsg>(2). In addition, the following error can occur:"
msgstr ""
"Errors are as for B<recvmsg>(2). In addition, the following error can occur:"
#. type: Plain text
-#: build/C/man2/recvmmsg.2:155
+#: build/C/man2/recvmmsg.2:157
msgid "I<timeout> is invalid."
msgstr "I<timeout> is invalid."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:160
+#: build/C/man2/recvmmsg.2:162
msgid ""
"The B<recvmmsg>() system call was added in Linux 2.6.32. Support in glibc "
"was added in version 2.12."
"was added in version 2.12."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:163
+#: build/C/man2/recvmmsg.2:165
msgid "B<recvmmsg>() is Linux-specific."
msgstr "B<recvmmsg>() is Linux-specific."
#. type: Plain text
-#: build/C/man2/recvmmsg.2:170
+#: build/C/man2/recvmmsg.2:172
msgid ""
"B<clock_gettime>(2), B<recvmsg>(2), B<sendmmsg>(2), B<sendmsg>(2), B<socket>"
"(2), B<socket>(7)"
msgstr "SEND"
#. type: TH
-#: build/C/man2/send.2:38
+#: build/C/man2/send.2:38 build/C/man2/sendmmsg.2:28
#, no-wrap
-msgid "2011-10-01"
-msgstr "2011-10-01"
+msgid "2012-02-27"
+msgstr "2012-02-27"
#. type: Plain text
#: build/C/man2/send.2:41
#. type: Plain text
#: build/C/man2/send.2:409
+msgid ""
+"See B<sendmmsg(2)> for information about a Linux-specific system call that "
+"can be used to transmit multiple datagrams in a single call."
+msgstr ""
+"B<sendmmsg>(2) には、一度の呼び出しでの複数のデータグラムの送信に使用でき"
+"る\n"
+"Linux 固有の システムコールに関する情報が書かれている。"
+
+#. type: Plain text
+#: build/C/man2/send.2:414
msgid "Linux may return B<EPIPE> instead of B<ENOTCONN>."
msgstr "Linux は B<ENOTCONN> を返す状況で B<EPIPE> を返すことがある。"
#. type: Plain text
-#: build/C/man2/send.2:414
+#: build/C/man2/send.2:419
msgid "An example of the use of B<sendto>() is shown in B<getaddrinfo>(3)."
msgstr "B<sendto>() の利用例が B<getaddrinfo>(3) に記載されている。"
#. type: Plain text
-#: build/C/man2/send.2:428
+#: build/C/man2/send.2:434
msgid ""
"B<fcntl>(2), B<getsockopt>(2), B<recv>(2), B<select>(2), B<sendfile>(2), "
-"B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), B<ip>(7), B<socket>"
-"(7), B<tcp>(7), B<udp>(7)"
+"B<sendmmsg>(2), B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), B<ip>"
+"(7), B<socket>(7), B<tcp>(7), B<udp>(7)"
msgstr ""
"B<fcntl>(2), B<getsockopt>(2), B<recv>(2), B<select>(2), B<sendfile>(2), "
-"B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), B<ip>(7), B<socket>"
-"(7), B<tcp>(7), B<udp>(7)"
+"B<sendmmsg>(2), B<shutdown>(2), B<socket>(2), B<write>(2), B<cmsg>(3), B<ip>"
+"(7), B<socket>(7), B<tcp>(7), B<udp>(7)"
+
+#. type: TH
+#: build/C/man2/sendmmsg.2:28
+#, no-wrap
+msgid "SENDMMSG"
+msgstr "SENDMMSG"
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:31
+msgid "sendmmsg - send multiple messages on a socket"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:39
+#, no-wrap
+msgid ""
+"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n"
+"B< unsigned int >I<flags>B<);>\n"
+msgstr ""
+"B<int sendmmsg(int >I<sockfd>B<, struct mmsghdr *>I<msgvec>B<, unsigned int >I<vlen>B<,>\n"
+"B< unsigned int >I<flags>B<);>\n"
+
+#. See commit 228e548e602061b08ee8e8966f567c12aa079682
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:49
+msgid ""
+"The B<sendmmsg>() system call is an extension of B<sendmsg>(2) that allows "
+"the caller to transmit multiple messages on a socket using a single system "
+"call. (This has performance benefits for some applications.)"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:54
+msgid ""
+"The I<sockfd> argument is the file descriptor of the socket on which data is "
+"to be transmitted."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:75
+#, no-wrap
+msgid ""
+"struct mmsghdr {\n"
+" struct msghdr msg_hdr; /* Message header */\n"
+" unsigned int msg_len; /* Number of bytes transmitted */\n"
+"};\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:91
+msgid ""
+"The I<msg_hdr> field is a I<msghdr> structure, as described in B<sendmsg>"
+"(2). The I<msg_len> field is used to return the number of bytes sent from "
+"the message in I<msg_hdr> (i.e., the same as the return value from a single "
+"B<sendmsg>(2) call)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:97
+msgid ""
+"The I<flags> argument contains flags ORed together. The flags are the same "
+"as for B<sendmsg>(2)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:107
+msgid ""
+"A blocking B<sendmmsg>() call blocks until I<vlen> messages have been "
+"sent. A nonblocking call sends as many messages as possible (up to the "
+"limit specified by I<vlen>) and returns immediately."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:119
+msgid ""
+"On return from B<sendmmsg>(), the I<msg_len> fields of successive elements "
+"of I<msgvec> are updated to contain the number of bytes transmitted from the "
+"corresponding I<msg_hdr>. The return value of the call indicates the number "
+"of elements of I<msgvec> that have been updated."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:129
+msgid ""
+"On success, B<sendmmsg>() returns the number of messages sent from "
+"I<msgvec>; if this is less than I<vlen>, the caller can retry with a further "
+"B<sendmmsg>() call to send the remaining messages."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:133
+msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
+msgstr ""
+
+#
+#. commit 728ffb86f10873aaf4abd26dde691ee40ae731fe
+#. ... only return an error if no datagrams could be sent.
+#. If less than the requested number of messages were sent, the application
+#. must retry starting at the first failed one and if the problem is
+#. persistent the error will be returned.
+#. This matches the behaviour of other syscalls like read/write - it
+#. is not an error if less than the requested number of elements are sent.
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:145
+msgid ""
+"Errors are as for B<sendmsg>(2). An error is returned only if no datagrams "
+"could be sent."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:150
+msgid ""
+"The B<sendmmsg>() system call was added in Linux 3.0. Support in glibc was "
+"added in version 2.14."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:153
+msgid "B<sendmmsg>() is Linux-specific."
+msgstr ""
+
+#
+#
+#. commit 98382f419f32d2c12d021943b87dea555677144b
+#. net: Cap number of elements for sendmmsg
+#. To limit the amount of time we can spend in sendmmsg, cap the
+#. number of elements to UIO_MAXIOV (currently 1024).
+#. For error handling an application using sendmmsg needs to retry at
+#. the first unsent message, so capping is simpler and requires less
+#. application logic than returning EINVAL.
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:168
+msgid "The value specified in I<vlen> is capped to B<UIO_MAXIOV> (1024)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man2/sendmmsg.2:173
+msgid "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)"
+msgstr "B<recvmmsg>(2), B<sendmsg>(2), B<socket>(2), B<socket>(7)"
#. type: TH
#: build/C/man3/sockatmark.3:23
#. type: TH
#: build/C/man7/socket.7:26
-#, fuzzy, no-wrap
-#| msgid "2010-06-10"
+#, no-wrap
msgid "2010-06-13"
-msgstr "2010-06-10"
+msgstr "2010-06-13"
#. type: Plain text
#: build/C/man7/socket.7:29
#. type: Plain text
#: build/C/man7/socket.7:224
-#, fuzzy
-#| msgid ""
-#| "Returns a value indicating whether or not this socket has been marked to "
-#| "accept connections with B<listen>(2). The value 0 indicates that this is "
-#| "not a listening socket, the value 1 indicates that this is a listening "
-#| "socket. Can only be read with B<getsockopt>(2)."
msgid ""
"Returns a value indicating whether or not this socket has been marked to "
"accept connections with B<listen>(2). The value 0 indicates that this is "
msgstr ""
"このソケットが B<listen>(2) によって接続待ち受け状態に設定されているかどうか"
"を示す値を返す。 値 0 は listen 状態のソケットでないことを、 値 1 は listen "
-"状態のソケットであることを示す。 B<getsockopt>(2) からのみ読み出し可能であ"
-"る。"
+"状態のソケットであることを示す。このソケットオプションは読み込み専用である。"
#. type: TP
#: build/C/man7/socket.7:224
#. type: Plain text
#: build/C/man7/socket.7:243
-#, fuzzy
-#| msgid ""
-#| "Bind this socket to a particular device like \\(lqeth0\\(rq, as specified "
-#| "in the passed interface name. If the name is an empty string or the "
-#| "option length is zero, the socket device binding is removed. The passed "
-#| "option is a variable-length null-terminated interface name string with "
-#| "the maximum size of B<IFNAMSIZ>. If a socket is bound to an interface, "
-#| "only packets received from that particular interface are processed by the "
-#| "socket. Note that this only works for some socket types, particularly "
-#| "B<AF_INET> sockets. It is not supported for packet sockets (use normal "
-#| "B<bind>(8) there)."
msgid ""
"Bind this socket to a particular device like \\(lqeth0\\(rq, as specified in "
"the passed interface name. If the name is an empty string or the option "
"sockets. It is not supported for packet sockets (use normal B<bind>(2) "
"there)."
msgstr ""
-"このソケットを、引き数で渡したインターフェース名で指定される (\\(lqeth0\\(rq "
-"のような) 特定のデバイスにバインドする。 名前が空文字列だったり、オプションの"
-"長さ (optlen) が 0 の場合には、 ソケットのバインドが削除される。渡すオプショ"
-"ンは、インターフェース名が 入ったヌル文字で終端された可変長の文字列である。 "
-"文字列の最大のサイズは B<IFNAMSIX> である。 ソケットがインターフェースにバイ"
-"ンドされると、 その特定のインターフェースから受信されたパケットだけを処理す"
-"る。 このオプションはいくつかのソケットタイプ、特に B<AF_INET> に対してのみ動"
-"作する点に注意すること。 パケットソケットではサポートされていない (通常の "
-"B<bind>(8) を使うこと)。"
+"このソケットを、引き数で渡したインターフェース名で指定される\n"
+"(\\(lqeth0\\(rq のような) 特定のデバイスにバインドする。\n"
+"名前が空文字列だったり、オプションの長さ (optlen) が 0 の場合には、\n"
+"ソケットのバインドが削除される。渡すオプションは、インターフェース名が\n"
+"入ったヌル文字で終端された可変長の文字列である。\n"
+"文字列の最大のサイズは B<IFNAMSIX> である。\n"
+"ソケットがインターフェースにバインドされると、その特定のインターフェース\n"
+"から受信されたパケットだけを処理する。\n"
+"このオプションはいくつかのソケットタイプ、\n"
+"特に B<AF_INET> に対してのみ動作する点に注意すること。\n"
+"パケットソケットではサポートされていない (通常の B<bind>(2) を使うこと)。"
#. type: TP
#: build/C/man7/socket.7:243
#. type: TP
#: build/C/man7/socket.7:268
-#, fuzzy, no-wrap
-#| msgid "B<MSG_DONTWAIT> (since Linux 2.2)"
+#, no-wrap
msgid "B<SO_DOMAIN> (since Linux 2.6.32)"
-msgstr "B<MSG_DONTWAIT> (Linux 2.2 以降)"
+msgstr "B<SO_DOMAIN> (Linux 2.6.32 以降)"
#. type: Plain text
#: build/C/man7/socket.7:276
#. type: Plain text
#: build/C/man7/socket.7:281
-#, fuzzy
-#| msgid ""
-#| "Get and clear the pending socket error. Only valid as a B<getsockopt>"
-#| "(2). Expects an integer."
msgid ""
"Get and clear the pending socket error. This socket option is read-only. "
"Expects an integer."
msgstr ""
-"保留になっていたソケットエラーを取得してクリアする。 B<getsockopt>(2) でのみ"
-"用いることができる。 整数値をとる。"
+"保留になっていたソケットエラーを取得してクリアする。\n"
+"このソケットオプションは読み込み専用である。整数値をとる。"
#. type: TP
#: build/C/man7/socket.7:281
#. type: Plain text
#: build/C/man7/socket.7:361
-#, fuzzy
-#| msgid ""
-#| "Return the credentials of the foreign process connected to this socket. "
-#| "This is only possible for connected B<AF_UNIX> stream sockets and "
-#| "B<AF_UNIX> stream and datagram socket pairs created using B<socketpair>"
-#| "(2); see B<unix>(7). The returned credentials are those that were in "
-#| "effect at the time of the call to B<connect>(2) or B<socketpair>(2). "
-#| "Argument is a I<ucred> structure. Only valid as a B<getsockopt>(2)."
msgid ""
"Return the credentials of the foreign process connected to this socket. "
"This is only possible for connected B<AF_UNIX> stream sockets and B<AF_UNIX> "
"the call to B<connect>(2) or B<socketpair>(2). Argument is a I<ucred> "
"structure. This socket option is read-only."
msgstr ""
-"このソケットに接続してきた外部プロセスの信任状 (credential) を返す。 このソ"
-"ケットオプションが利用できるのは、 接続された B<AF_UNIX> ストリームソケット"
-"間、および B<socketpair>(2) を使って作成された B<AF_UNIX> のストリームソケッ"
-"トとデータグラムソケットのペアだけである。 B<unix>(7) を参照のこと。 "
-"B<connect>(2) や B<socketpair>(2) が呼ばれた時に有効であった信任状が返され"
-"る。 引き数は I<ucred> 構造体である。 B<getsockopt>(2) でのみ用いることがで"
-"きる。"
+"このソケットに接続してきた外部プロセスの信任状 (credential) を返す。\n"
+"このソケットオプションが利用できるのは、接続された B<AF_UNIX> ストリームソケット間、\n"
+"および B<socketpair>(2) を使って作成された B<AF_UNIX> のストリームソケットと\n"
+"データグラムソケットのペアだけである。\n"
+"B<unix>(7) を参照のこと。\n"
+"B<connect>(2) や B<socketpair>(2) が呼ばれた時に有効であった信任状が返される。\n"
+"引き数は I<ucred> 構造体である。\n"
+"このソケットオプションは読み込み専用である。"
#. type: TP
#: build/C/man7/socket.7:361
#. type: TP
#: build/C/man7/socket.7:374
-#, fuzzy, no-wrap
-#| msgid "B<MSG_TRUNC> (since Linux 2.2)"
+#, no-wrap
msgid "B<SO_PROTOCOL> (since Linux 2.6.32)"
-msgstr "B<MSG_TRUNC> (Linux 2.2 以降)"
+msgstr "B<SO_PROTOCOL> (Linux 2.6.32 以降)"
#. type: Plain text
#: build/C/man7/socket.7:382
#. type: Plain text
#: build/C/man7/socket.7:526
-#, fuzzy
-#| msgid ""
-#| "Gets the socket type as an integer (like B<SOCK_STREAM>). Can only be "
-#| "read with B<getsockopt>(2)."
msgid ""
"Gets the socket type as an integer (e.g., B<SOCK_STREAM>). This socket "
"option is read-only."
msgstr ""
-"ソケットのタイプを整数で取得する (例: B<SOCK_STREAM>)。 B<getsockopt>(2) か"
-"ã\82\89ã\81®ã\81¿èªã\81¿å\87ºã\81\97å\8f¯è\83½である。"
+"ソケットのタイプを整数で取得する (例: B<SOCK_STREAM>)。\n"
+"ã\81\93ã\81®ã\82½ã\82±ã\83\83ã\83\88ã\82ªã\83\97ã\82·ã\83§ã\83³ã\81¯èªã\81¿å\87ºã\81\97å°\82ç\94¨である。"
#. type: SS
#: build/C/man7/socket.7:526
"B<pipe>(2), B<read>(2), B<socket>(2), B<write>(2), B<socket>(7), B<unix>(7)"
msgstr ""
"B<pipe>(2), B<read>(2), B<socket>(2), B<write>(2), B<socket>(7), B<unix>(7)"
+
+#~ msgid "RETURN VALUES"
+#~ msgstr "RETURN VALUES"
+
+#~ msgid "2011-10-01"
+#~ msgstr "2011-10-01"