msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"POT-Creation-Date: 2013-03-22 01:06+0900\n"
-"PO-Revision-Date: 2012-05-29 21:31+0900\n"
+"PO-Revision-Date: 2013-03-26 16:29+0900\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: \n"
#. type: Plain text
#: build/C/man2/accept.2:44
-#, fuzzy
-#| msgid "accept - accept a connection on a socket"
msgid "accept, accept4 - accept a connection on a socket"
-msgstr "accept - ソケットへの接続を受ける"
+msgstr "accept, accept4 - ソケットへの接続を受ける"
#. type: SH
#: build/C/man2/accept.2:44 build/C/man2/bind.2:71
#. type: SS
#: build/C/man2/accept.2:187
-#, fuzzy, no-wrap
-#| msgid "Error Handling"
+#, no-wrap
msgid "Error handling"
msgstr "エラー処理"
#: build/C/man3/sockatmark.3:144 build/C/man2/socket.2:426
#: build/C/man7/socket.7:866 build/C/man2/socketcall.2:78
#: build/C/man2/socketpair.2:138
-#, fuzzy
-#| msgid ""
-#| "This page is part of release 3.41 of the Linux I<man-pages> project. A "
-#| "description of the project, and information about reporting bugs, can be "
-#| "found at http://www.kernel.org/doc/man-pages/."
msgid ""
"This page is part of release 3.50 of the Linux I<man-pages> project. A "
"description of the project, and information about reporting bugs, can be "
"found at http://www.kernel.org/doc/man-pages/."
msgstr ""
-"この man ページは Linux I<man-pages> プロジェクトのリリース 3.41 の一部\n"
+"この man ページは Linux I<man-pages> プロジェクトのリリース 3.50 の一部\n"
"である。プロジェクトの説明とバグ報告に関する情報は\n"
"http://www.kernel.org/doc/man-pages/ に書かれている。"
#. type: TH
#: build/C/man3/getifaddrs.3:36
-#, fuzzy, no-wrap
-#| msgid "2011-10-01"
+#, no-wrap
msgid "2012-11-11"
-msgstr "2011-10-01"
+msgstr "2012-11-11"
#. type: TH
#: build/C/man3/getifaddrs.3:36 build/C/man3/if_nameindex.3:26
#. type: TH
#: build/C/man3/if_nameindex.3:26
-#, fuzzy, no-wrap
-#| msgid "2008-11-20"
+#, no-wrap
msgid "2012-11-21"
-msgstr "2008-11-20"
+msgstr "2012-11-21"
#. type: Plain text
#: build/C/man3/if_nameindex.3:29
#. type: Plain text
#: build/C/man3/if_nameindex.3:32 build/C/man3/if_nametoindex.3:32
-#, fuzzy, no-wrap
-#| msgid "B<#include E<lt>unistd.hE<gt>>\n"
+#, no-wrap
msgid "B<#include E<lt>net/if.hE<gt>>\n"
-msgstr "B<#include E<lt>unistd.hE<gt>>\n"
+msgstr "B<#include E<lt>net/if.hE<gt>>\n"
#. type: Plain text
#: build/C/man3/if_nameindex.3:35
#. type: Plain text
#: build/C/man3/if_nameindex.3:86
-#, fuzzy
-#| msgid "Insufficient kernel memory was available."
msgid "Insufficient resources available."
-msgstr "カーネルに、利用可能なメモリーが十分にない。"
+msgstr "利用可能なリソースが十分にない。"
#. type: Plain text
#: build/C/man3/if_nameindex.3:97
#. type: Plain text
#: build/C/man3/if_nameindex.3:106 build/C/man3/if_nametoindex.3:87
-#, fuzzy
-#| msgid "4.4BSD, POSIX.1-2001."
msgid "RFC\\ 3493, POSIX.1-2001."
-msgstr "4.4BSD, POSIX.1-2001."
+msgstr "RFC\\ 3493, POSIX.1-2001."
#. type: Plain text
#: build/C/man3/if_nameindex.3:108 build/C/man3/if_nametoindex.3:89
-#, fuzzy
-#| msgid ""
-#| "4.4BSD (these function calls first appeared in 4.2BSD), POSIX.1-2001."
msgid "This function first appeared in BSDi."
-msgstr "4.4BSD (これらの関数は 4.2BSD で現われた), POSIX.1-2001。"
+msgstr "この関数は BSDi 初めて登場した。"
#. type: Plain text
#: build/C/man3/if_nameindex.3:112
#. type: Plain text
#: build/C/man3/if_nameindex.3:126
-#, fuzzy, no-wrap
-#| msgid ""
-#| "#include E<lt>stdio.hE<gt>\n"
-#| "#include E<lt>stdlib.hE<gt>\n"
-#| "#include E<lt>sys/time.hE<gt>\n"
-#| "#include E<lt>sys/types.hE<gt>\n"
-#| "#include E<lt>unistd.hE<gt>\n"
+#, no-wrap
msgid ""
"#include E<lt>net/if.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
msgstr ""
+"#include E<lt>net/if.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
-"#include E<lt>sys/time.hE<gt>\n"
-"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>unistd.hE<gt>\n"
#. type: Plain text
#: build/C/man3/if_nameindex.3:131
-#, fuzzy, no-wrap
-#| msgid ""
-#| "int\n"
-#| "main(int argc, char *argv[])\n"
-#| "{\n"
-#| " struct ifaddrs *ifaddr, *ifa;\n"
-#| " int family, s;\n"
-#| " char host[NI_MAXHOST];\n"
+#, no-wrap
msgid ""
"int\n"
"main(int argc, char *argv[])\n"
"int\n"
"main(int argc, char *argv[])\n"
"{\n"
-" struct ifaddrs *ifaddr, *ifa;\n"
-" int family, s;\n"
-" char host[NI_MAXHOST];\n"
+" struct if_nameindex *if_ni, *i;\n"
#. type: Plain text
#: build/C/man3/if_nameindex.3:137
-#, fuzzy, no-wrap
-#| msgid ""
-#| " if (getifaddrs(&ifaddr) == -1) {\n"
-#| " perror(\"getifaddrs\");\n"
-#| " exit(EXIT_FAILURE);\n"
-#| " }\n"
+#, no-wrap
msgid ""
" if_ni = if_nameindex();\n"
" if (if_ni == NULL) {\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
-" if (getifaddrs(&ifaddr) == -1) {\n"
-" perror(\"getifaddrs\");\n"
+" if_ni = if_nameindex();\n"
+" if (if_ni == NULL) {\n"
+" perror(\"if_nameindex\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
#. type: Plain text
#: build/C/man3/if_nameindex.3:153
-#, fuzzy
-#| msgid ""
-#| "B<bind>(2), B<socket>(2), B<getifaddrs>(3), B<ip>(7), B<socket>(7), "
-#| "B<unix>(7)"
msgid ""
"B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), "
"B<if_nametoindex>(3), B<ifconfig>(8)"
-msgstr ""
-"B<bind>(2), B<socket>(2), B<getifaddrs>(3), B<ip>(7), B<socket>(7), B<unix>"
-"(7)"
+msgstr "B<getsockopt>(2), B<setsockopt>(2), B<getifaddrs>(3), B<if_indextoname>(3), B<if_nametoindex>(3), B<ifconfig>(8)"
#. type: TH
#: build/C/man3/if_nametoindex.3:25
#, no-wrap
msgid "IF_NAMETOINDEX"
-msgstr ""
+msgstr "IF_NAMETOINDEX"
#. type: TH
#: build/C/man3/if_nametoindex.3:25
-#, fuzzy, no-wrap
-#| msgid "2012-02-27"
+#, no-wrap
msgid "2012-12-14"
-msgstr "2012-02-27"
+msgstr "2012-12-14"
#. type: Plain text
#: build/C/man3/if_nametoindex.3:29
#. type: Plain text
#: build/C/man3/if_nametoindex.3:61
#, fuzzy
-#| msgid ""
-#| "On success, these calls return the number of characters sent. On error, "
-#| "-1 is returned, and I<errno> is set appropriately."
msgid ""
"On success, B<if_nametoindex>() returns the index number of the network "
"interface; on error, 0 is returned and I<errno> is set appropriately."
-msgstr ""
-"成功した場合、これらのシステムコールは送信されたバイト数を返す。 エラーの場"
-"合、 -1 を返し、 I<errno> を適切に設定にする。"
+msgstr "成功した場合、これらのシステムコールは送信されたバイト数を返す。 エラーの場合、 -1 を返し、 I<errno> を適切に設定にする。"
#. type: Plain text
#: build/C/man3/if_nametoindex.3:69
#. type: TH
#: build/C/man2/recv.2:41
-#, fuzzy, no-wrap
-#| msgid "2012-02-27"
+#, no-wrap
msgid "2012-12-21"
-msgstr "2012-02-27"
+msgstr "2012-12-21"
#. type: Plain text
#: build/C/man2/recv.2:44
#. type: Plain text
#: build/C/man2/recv.2:275
-#, fuzzy
-#| msgid ""
-#| "For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), and "
-#| "netlink (since Linux 2.6.22) sockets: return the real length of the "
-#| "packet or datagram, even when it was longer than the passed buffer. Not "
-#| "implemented for UNIX domain (B<unix>(7)) sockets."
msgid ""
"For raw (B<AF_PACKET>), Internet datagram (since Linux 2.4.27/2.6.8), "
"netlink (since Linux 2.6.22) and UNIX datagram (since Linux 3.4) sockets: "
"return the real length of the packet or datagram, even when it was longer "
"than the passed buffer. Not implemented for UNIX domain (B<unix>(7)) "
"sockets."
-msgstr ""
-"raw ソケット (B<AF_PACKET>)、 Internet datagram ソケット (Linux 2.4.27/2.6.8 "
-"以降)、 netlink (Linux 2.6.22 以降) ソケットの場合、 パケットやデータグラムの"
-"長さが渡したバッファよりも長かった場合にも、 パケットやデータグラムの実際の長"
-"さを返す。 UNIX ドメインソケット (B<unix>(7)) ソケットについては実装されてい"
-"ない。"
+msgstr "raw ソケット (B<AF_PACKET>)、 Internet datagram ソケット (Linux 2.4.27/2.6.8 以降)、 netlink (Linux 2.6.22 以降) ソケット、 UNIX datagram ソケット (Linux 3.4 以降) の場合、パケットやデータグラムの長さが渡したバッファよりも長かった場合にも、 パケットやデータグラムの実際の長さを返す。 UNIX ドメインソケット (B<unix>(7)) ソケットについては実装されていない。"
#. type: Plain text
#: build/C/man2/recv.2:278
#. type: Plain text
#: build/C/man2/recv.2:490
-#, fuzzy
-#| msgid ""
-#| "See B<recvmmsg(2)> for information about a Linux-specific system call "
-#| "that can be used to receive multiple datagrams in a single call."
msgid ""
"See B<recvmmsg>(2) for information about a Linux-specific system call that "
"can be used to receive multiple datagrams in a single call."
#. type: TH
#: build/C/man2/recvmmsg.2:31
-#, fuzzy, no-wrap
-#| msgid "2012-02-27"
+#, no-wrap
msgid "2012-12-24"
-msgstr "2012-02-27"
+msgstr "2012-12-24"
#. type: Plain text
#: build/C/man2/recvmmsg.2:34
#. type: TP
#: build/C/man2/recvmmsg.2:102
-#, fuzzy, no-wrap
-#| msgid "B<MSG_MORE> (Since Linux 2.4.4)"
+#, no-wrap
msgid "B<MSG_WAITFORONE> (since Linux 2.6.34)"
-msgstr "B<MSG_MORE> (Linux 2.4.4 以降)"
+msgstr "B<MSG_WAITFORONE> (Linux 2.6.34 以降)"
#. type: Plain text
#: build/C/man2/recvmmsg.2:107
#. type: Plain text
#: build/C/man2/recvmmsg.2:215
-#, fuzzy, no-wrap
-#| msgid ""
-#| "#include E<lt>sys/socket.hE<gt>\n"
-#| "#include E<lt>sys/un.hE<gt>\n"
-#| "#include E<lt>stdlib.hE<gt>\n"
-#| "#include E<lt>stdio.hE<gt>\n"
-#| "#include E<lt>string.hE<gt>\n"
+#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
"#include E<lt>netinet/ip.hE<gt>\n"
"#include E<lt>string.hE<gt>\n"
"#include E<lt>sys/socket.hE<gt>\n"
msgstr ""
-"#include E<lt>sys/socket.hE<gt>\n"
-"#include E<lt>sys/un.hE<gt>\n"
-"#include E<lt>stdlib.hE<gt>\n"
+"#define _GNU_SOURCE\n"
+"#include E<lt>netinet/ip.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
+"#include E<lt>stdlib.hE<gt>\n"
"#include E<lt>string.hE<gt>\n"
+"#include E<lt>sys/socket.hE<gt>\n"
#. type: Plain text
#: build/C/man2/recvmmsg.2:228
#. type: Plain text
#: build/C/man2/recvmmsg.2:234 build/C/man2/sendmmsg.2:201
-#, fuzzy, no-wrap
-#| msgid ""
-#| " sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
-#| " if (sfd == -1)\n"
-#| " handle_error(\"socket\");\n"
+#, no-wrap
msgid ""
" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n"
" if (sockfd == -1) {\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
-" sfd = socket(AF_UNIX, SOCK_STREAM, 0);\n"
-" if (sfd == -1)\n"
-" handle_error(\"socket\");\n"
+" sockfd = socket(AF_INET, SOCK_DGRAM, 0);\n"
+" if (sockfd == -1) {\n"
+" perror(\"socket()\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
#. type: Plain text
#: build/C/man2/recvmmsg.2:242
-#, fuzzy, no-wrap
-#| msgid ""
-#| " sa.sa_flags = 0;\n"
-#| " sa.sa_handler = child_sig_handler;\n"
-#| " sigemptyset(&sa.sa_mask);\n"
-#| " if (sigaction(SIGCHLD, &sa, NULL) == -1) {\n"
-#| " perror(\"sigaction\");\n"
-#| " exit(EXIT_FAILURE);\n"
-#| " }\n"
+#, no-wrap
msgid ""
" sa.sin_family = AF_INET;\n"
" sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
-" sa.sa_flags = 0;\n"
-" sa.sa_handler = child_sig_handler;\n"
-" sigemptyset(&sa.sa_mask);\n"
-" if (sigaction(SIGCHLD, &sa, NULL) == -1) {\n"
-" perror(\"sigaction\");\n"
+" sa.sin_family = AF_INET;\n"
+" sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n"
+" sa.sin_port = htons(1234);\n"
+" if (bind(sockfd, (struct sockaddr *) &sa, sizeof(sa)) == -1) {\n"
+" perror(\"bind()\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
#. type: Plain text
#: build/C/man2/recvmmsg.2:253
-#, fuzzy, no-wrap
-#| msgid ""
-#| " /* Wait up to five seconds. */\n"
-#| " tv.tv_sec = 5;\n"
-#| " tv.tv_usec = 0;\n"
+#, no-wrap
msgid ""
" timeout.tv_sec = TIMEOUT;\n"
" timeout.tv_nsec = 0;\n"
msgstr ""
-" /* 5 秒間監視する。*/\n"
-" tv.tv_sec = 5;\n"
-" tv.tv_usec = 0;\n"
+" timeout.tv_sec = TIMEOUT;\n"
+" timeout.tv_nsec = 0;\n"
#. type: Plain text
#: build/C/man2/recvmmsg.2:259
-#, fuzzy, no-wrap
-#| msgid ""
-#| " if (r == -1) {\n"
-#| " perror(\"select()\");\n"
-#| " exit(EXIT_FAILURE);\n"
-#| " }\n"
+#, no-wrap
msgid ""
" retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout);\n"
" if (retval == -1) {\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
-" if (r == -1) {\n"
-" perror(\"select()\");\n"
-" exit(EXIT_FAILURE);\n"
-" }\n"
+" retval = recvmmsg(sockfd, msgs, VLEN, 0, &timeout);\n"
+" if (retval == -1) {\n"
+" perror(\"recvmmsg()\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
#. type: Plain text
#: build/C/man2/recvmmsg.2:267
#. type: TH
#: build/C/man2/select.2:38
-#, fuzzy, no-wrap
-#| msgid "2012-02-27"
+#, no-wrap
msgid "2012-08-17"
-msgstr "2012-02-27"
+msgstr "2012-08-17"
#. type: Plain text
#: build/C/man2/select.2:42 build/C/man2/select_tut.2:36
#. type: Plain text
#: build/C/man2/select.2:98
-#, fuzzy
-#| msgid ""
-#| "The operation of B<select>() and B<pselect>() is identical, with three "
-#| "differences:"
msgid ""
"The operation of B<select>() and B<pselect>() is identical, other than "
"these three differences:"
#. type: Plain text
#: build/C/man2/select.2:211
-#, fuzzy, no-wrap
-#| msgid ""
-#| " sigprocmask(SIG_SETMASK, &sigmask, &origmask);\n"
-#| " ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
-#| " sigprocmask(SIG_SETMASK, &origmask, NULL);\n"
+#, no-wrap
msgid ""
" pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
" ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
" pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
msgstr ""
-" sigprocmask(SIG_SETMASK, &sigmask, &origmask);\n"
+" pthread_sigmask(SIG_SETMASK, &sigmask, &origmask);\n"
" ready = select(nfds, &readfds, &writefds, &exceptfds, timeout);\n"
-" sigprocmask(SIG_SETMASK, &origmask, NULL);\n"
+" pthread_sigmask(SIG_SETMASK, &origmask, NULL);\n"
#. type: Plain text
#: build/C/man2/select.2:232
#. type: SS
#: build/C/man2/select.2:430
-#, fuzzy, no-wrap
-#| msgid "Linux Notes"
+#, no-wrap
msgid "Linux notes"
msgstr "Linux での注意"
#. type: Plain text
#: build/C/man2/select.2:438
-#, fuzzy
-#| msgid ""
-#| "The B<pselect>() interface described in this page is implemented by "
-#| "glibc. The underlying Linux system call is named B<pselect6>(). This "
-#| "system call has somewhat different behavior from the gibc wrapper "
-#| "function."
msgid ""
"The B<pselect>() interface described in this page is implemented by glibc. "
"The underlying Linux system call is named B<pselect6>(). This system call "
#. type: Plain text
#: build/C/man2/select.2:459
-#, fuzzy
-#| msgid ""
-#| "The final argument of the B<pselect6()> system call is not a I<sigset_t\\ "
-#| "*> pointer, but is instead a structure of the form:"
msgid ""
"The final argument of the B<pselect6>() system call is not a I<sigset_t\\ "
"*> pointer, but is instead a structure of the form:"
msgstr ""
-"B<pselect6>() システムコールの最後の引き数はI<sigset_t\\ *> 型の\n"
+"B<pselect6>() システムコールの最後の引き数は I<sigset_t\\ *> 型の\n"
"ポインタではなく、以下に示す構造体である。"
#. type: Plain text
#. type: Plain text
#: build/C/man2/select.2:585
-#, fuzzy
-#| msgid ""
-#| "For vaguely related stuff, see B<accept>(2), B<connect>(2), B<poll>(2), "
-#| "B<read>(2), B<recv>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), "
-#| "B<epoll>(7), B<time>(7)"
msgid ""
"B<accept>(2), B<connect>(2), B<poll>(2), B<read>(2), B<recv>(2), B<send>(2), "
"B<sigprocmask>(2), B<write>(2), B<epoll>(7), B<time>(7)"
-msgstr ""
-"関係がありそうなものを挙げておく: B<accept>(2), B<connect>(2), B<poll>(2), "
-"B<read>(2), B<recv>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), B<epoll>"
-"(7), B<time>(7)"
+msgstr "B<accept>(2), B<connect>(2), B<poll>(2), B<read>(2), B<recv>(2), B<send>(2), B<sigprocmask>(2), B<write>(2), B<epoll>(7), B<time>(7)"
#. type: Plain text
#: build/C/man2/select.2:588
#. type: TH
#: build/C/man2/select_tut.2:32
-#, fuzzy, no-wrap
-#| msgid "2012-05-02"
+#, no-wrap
msgid "2012-08-03"
-msgstr "2012-05-02"
+msgstr "2012-08-03"
#. type: Plain text
#: build/C/man2/select_tut.2:52
#. type: SS
#: build/C/man2/select_tut.2:213
-#, fuzzy, no-wrap
-#| msgid "Combining Signal and Data Events"
+#, no-wrap
msgid "Combining signal and data events"
msgstr "シグナルとデータイベントを組み合わせる"
#. type: SS
#: build/C/man2/select_tut.2:334
-#, fuzzy, no-wrap
-#| msgid "Select Law"
+#, no-wrap
msgid "Select law"
msgstr "SELECT の掟"
#. type: SS
#: build/C/man2/select_tut.2:469
-#, fuzzy, no-wrap
-#| msgid "Usleep Emulation"
+#, no-wrap
msgid "Usleep emulation"
msgstr "usleep エミュレーション"
#. type: Plain text
#: build/C/man2/select_tut.2:583
-#, fuzzy, no-wrap
-#| msgid ""
-#| " if ((s = socket(AF_INET, SOCK_STREAM, 0)) == -1) {\n"
-#| " perror(\"socket\");\n"
-#| " return -1;\n"
-#| " }\n"
-#| " yes = 1;\n"
-#| " if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR,\n"
-#| " (char *) &yes, sizeof(yes)) == -1) {\n"
-#| " perror(\"setsockopt\");\n"
-#| " close(s);\n"
-#| " return -1;\n"
-#| " }\n"
-#| " memset(&a, 0, sizeof(a));\n"
-#| " a.sin_port = htons(listen_port);\n"
-#| " a.sin_family = AF_INET;\n"
-#| " if (bind(s, (struct sockaddr *) &a, sizeof(a)) == -1) {\n"
-#| " perror(\"bind\");\n"
-#| " close(s);\n"
-#| " return -1;\n"
-#| " }\n"
-#| " printf(\"accepting connections on port %d\\en\", listen_port);\n"
-#| " listen(s, 10);\n"
-#| " return s;\n"
-#| "}\n"
+#, no-wrap
msgid ""
" if ((s = socket(AF_INET, SOCK_STREAM, 0)) == -1) {\n"
" perror(\"socket\");\n"
" }\n"
" yes = 1;\n"
" if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR,\n"
-" (char *) &yes, sizeof(yes)) == -1) {\n"
+" &yes, sizeof(yes)) == -1) {\n"
" perror(\"setsockopt\");\n"
" close(s);\n"
" return -1;\n"
#. type: Plain text
#: build/C/man2/send.2:414
-#, fuzzy
-#| 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."
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."
#. type: TH
#: build/C/man2/sendmmsg.2:28
-#, fuzzy, no-wrap
-#| msgid "2012-02-27"
+#, no-wrap
msgid "2012-12-16"
-msgstr "2012-02-27"
+msgstr "2012-12-16"
#. type: Plain text
#: build/C/man2/sendmmsg.2:31
#. type: Plain text
#: build/C/man2/sendmmsg.2:186
-#, fuzzy, no-wrap
-#| msgid ""
-#| "#include E<lt>stdio.hE<gt>\n"
-#| "#include E<lt>stdlib.hE<gt>\n"
-#| "#include E<lt>sys/time.hE<gt>\n"
-#| "#include E<lt>sys/types.hE<gt>\n"
-#| "#include E<lt>unistd.hE<gt>\n"
+#, no-wrap
msgid ""
"#define _GNU_SOURCE\n"
"#include E<lt>netinet/ip.hE<gt>\n"
"#include E<lt>sys/types.hE<gt>\n"
"#include E<lt>sys/socket.hE<gt>\n"
msgstr ""
+"#define _GNU_SOURCE\n"
+"#include E<lt>netinet/ip.hE<gt>\n"
"#include E<lt>stdio.hE<gt>\n"
"#include E<lt>stdlib.hE<gt>\n"
-"#include E<lt>sys/time.hE<gt>\n"
+"#include E<lt>string.hE<gt>\n"
"#include E<lt>sys/types.hE<gt>\n"
-"#include E<lt>unistd.hE<gt>\n"
+"#include E<lt>sys/socket.hE<gt>\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:195
-#, fuzzy, no-wrap
-#| msgid ""
-#| "int\n"
-#| "main(void)\n"
-#| "{\n"
-#| " fd_set rfds;\n"
-#| " struct timeval tv;\n"
-#| " int retval;\n"
+#, no-wrap
msgid ""
"int\n"
"main(void)\n"
"int\n"
"main(void)\n"
"{\n"
-" fd_set rfds;\n"
-" struct timeval tv;\n"
+" int sockfd;\n"
+" struct sockaddr_in sa;\n"
+" struct mmsghdr msg[2];\n"
+" struct iovec msg1[2], msg2;\n"
" int retval;\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:209
-#, fuzzy, no-wrap
-#| msgid ""
-#| " sa.sa_flags = 0;\n"
-#| " sa.sa_handler = child_sig_handler;\n"
-#| " sigemptyset(&sa.sa_mask);\n"
-#| " if (sigaction(SIGCHLD, &sa, NULL) == -1) {\n"
-#| " perror(\"sigaction\");\n"
-#| " exit(EXIT_FAILURE);\n"
-#| " }\n"
+#, no-wrap
msgid ""
" sa.sin_family = AF_INET;\n"
" sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n"
" exit(EXIT_FAILURE);\n"
" }\n"
msgstr ""
-" sa.sa_flags = 0;\n"
-" sa.sa_handler = child_sig_handler;\n"
-" sigemptyset(&sa.sa_mask);\n"
-" if (sigaction(SIGCHLD, &sa, NULL) == -1) {\n"
-" perror(\"sigaction\");\n"
+" sa.sin_family = AF_INET;\n"
+" sa.sin_addr.s_addr = htonl(INADDR_LOOPBACK);\n"
+" sa.sin_port = htons(1234);\n"
+" if (connect(sockfd, (struct sockaddr *) &sa, sizeof(sa)) == -1) {\n"
+" perror(\"connect()\");\n"
" exit(EXIT_FAILURE);\n"
" }\n"
" msg1[1].iov_base = \"two\";\n"
" msg1[1].iov_len = 3;\n"
msgstr ""
+" memset(msg1, 0, sizeof(msg1));\n"
+" msg1[0].iov_base = \"one\";\n"
+" msg1[0].iov_len = 3;\n"
+" msg1[1].iov_base = \"two\";\n"
+" msg1[1].iov_len = 3;\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:219
-#, fuzzy, no-wrap
-#| msgid ""
-#| " memset(&a, 0, sizeof(a));\n"
-#| " a.sin_port = htons(connect_port);\n"
-#| " a.sin_family = AF_INET;\n"
+#, no-wrap
msgid ""
" memset(&msg2, 0, sizeof(msg2));\n"
" msg2.iov_base = \"three\";\n"
" msg2.iov_len = 5;\n"
msgstr ""
-" memset(&a, 0, sizeof(a));\n"
-" a.sin_port = htons(connect_port);\n"
-" a.sin_family = AF_INET;\n"
+" memset(&msg2, 0, sizeof(msg2));\n"
+" msg2.iov_base = \"three\";\n"
+" msg2.iov_len = 5;\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:223
" msg[0].msg_hdr.msg_iov = msg1;\n"
" msg[0].msg_hdr.msg_iovlen = 2;\n"
msgstr ""
+" memset(msg, 0, sizeof(msg));\n"
+" msg[0].msg_hdr.msg_iov = msg1;\n"
+" msg[0].msg_hdr.msg_iovlen = 2;\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:226
" msg[1].msg_hdr.msg_iov = &msg2;\n"
" msg[1].msg_hdr.msg_iovlen = 1;\n"
msgstr ""
+" msg[1].msg_hdr.msg_iov = &msg2;\n"
+" msg[1].msg_hdr.msg_iovlen = 1;\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:232
" else\n"
" printf(\"%d messages sent\\en\", retval);\n"
msgstr ""
+" retval = sendmmsg(sockfd, msg, 2, 0);\n"
+" if (retval == -1)\n"
+" perror(\"sendmmsg()\");\n"
+" else\n"
+" printf(\"%d messages sent\\en\", retval);\n"
#. type: Plain text
#: build/C/man2/sendmmsg.2:235
-#, fuzzy, no-wrap
-#| msgid ""
-#| " exit(EXIT_SUCCESS);\n"
-#| "}\n"
+#, no-wrap
msgid ""
" exit(0);\n"
"}\n"
msgstr ""
-" exit(EXIT_SUCCESS);\n"
+" exit(0);\n"
"}\n"
#. type: Plain text
#. type: Plain text
#: build/C/man2/socket.2:385
-#, fuzzy
-#| msgid ""
-#| "The manifest constants used under 4.x BSD for protocol families are "
-#| "B<PF_UNIX>, B<PF_INET>, and so on, while B<AF_UNIX>, B<PF_INET>, and so "
-#| "on are used for address families. However, already the BSD man page "
-#| "promises: \"The protocol family generally is the same as the address "
-#| "family\", and subsequent standards use AF_* everywhere."
msgid ""
"The manifest constants used under 4.x BSD for protocol families are "
"B<PF_UNIX>, B<PF_INET>, and so on, while B<AF_UNIX>, B<AF_INET>, and so on "
#. type: Plain text
#: build/C/man2/socket.2:419
-#, fuzzy
-#| msgid ""
-#| "\\(lqAn Introductory 4.3BSD Interprocess Communication Tutorial\\(rq is "
-#| "reprinted in I<UNIX Programmer's Supplementary Documents Volume 1.>"
msgid ""
"\\(lqAn Introductory 4.3BSD Interprocess Communication Tutorial\\(rq and "
"\\(lqBSD Interprocess Communication Tutorial\\(rq, reprinted in I<UNIX "
"Programmer's Supplementary Documents Volume 1.>"
-msgstr ""
-"\\(lqAn Introductory 4.3BSD Interprocess Communication Tutorial\\(rq は "
-"I<UNIX Programmer's Supplementary Documents Volume 1> として再版された。"
+msgstr "\\(lqAn Introductory 4.3BSD Interprocess Communication Tutorial\\(rq and \\(lqBSD Interprocess Communication Tutorial\\(rq, (I<UNIX Programmer's Supplementary Documents Volume 1.> として再版された)"
#. type: TH
#: build/C/man7/socket.7:48
#, no-wrap
msgid "2013-03-15"
-msgstr ""
+msgstr "2013-03-15"
#. type: Plain text
#: build/C/man7/socket.7:51
#. type: SS
#: build/C/man7/socket.7:74
-#, fuzzy, no-wrap
-#| msgid "Socket Layer Functions"
+#, no-wrap
msgid "Socket-layer functions"
msgstr "ソケット層の関数群"
#. type: SS
#: build/C/man7/socket.7:271
-#, fuzzy, no-wrap
-#| msgid "Socket Options"
+#, no-wrap
msgid "Socket options"
msgstr "ソケットオプション"
#. type: TP
#: build/C/man7/socket.7:405
-#, fuzzy, no-wrap
-#| msgid "B<SO_DOMAIN> (since Linux 2.6.32)"
+#, no-wrap
msgid "B<SO_MARK> (since Linux 2.6.25)"
-msgstr "B<SO_DOMAIN> (Linux 2.6.32 以降)"
+msgstr "B<SO_MARK> (Linux 2.6.25 以降)"
#. commit 4a19ec5800fc3bb64e2d87c4d9fdd9e636086fe0
#. and 914a9ab386a288d0f22252fc268ecbc048cdcbd5
#. in fact to EAGAIN
#. type: Plain text
#: build/C/man7/socket.7:570
-#, fuzzy
-#| msgid ""
-#| "Specify the receiving or sending timeouts until reporting an error. The "
-#| "argument is a I<struct timeval>. If an input or output function blocks "
-#| "for this period of time, and data has been sent or received, the return "
-#| "value of that function will be the amount of data transferred; if no data "
-#| "has been transferred and the timeout has been reached then -1 is returned "
-#| "with I<errno> set to B<EAGAIN> or B<EWOULDBLOCK> just as if the socket "
-#| "was specified to be nonblocking. If the timeout is set to zero (the "
-#| "default) then the operation will never timeout. Timeouts only have "
-#| "effect for system calls that perform socket I/O (e.g., B<read>(2), "
-#| "B<recvmsg>(2), B<send>(2), B<sendmsg>(2)); timeouts have no effect for "
-#| "B<select>(2), B<poll>(2), B<epoll_wait>(2), and so on."
msgid ""
"Specify the receiving or sending timeouts until reporting an error. The "
"argument is a I<struct timeval>. If an input or output function blocks for "
"timeout. Timeouts only have effect for system calls that perform socket I/O "
"(e.g., B<read>(2), B<recvmsg>(2), B<send>(2), B<sendmsg>(2)); timeouts have "
"no effect for B<select>(2), B<poll>(2), B<epoll_wait>(2), and so on."
-msgstr ""
-"送信・受信のタイムアウトを指定する。これを越えるとエラーを報告する。 引き数"
-"は I<struct timeval> である。 入出力関数がタイムアウト時間の間ブロックされ、"
-"かつデータの送信または 受信が行われていた場合は、転送されたデータ量が関数の返"
-"り値となる。 何もデータが転送されずにタイムアウトに達した場合は、 -1 を返"
-"し、 I<errno> に B<EAGAIN> か B<EWOULDBLOCK> を設定され、 あたかもソケットに"
-"非ブロッキングが指定されたように見える。 タイムアウト値に (デフォルト値であ"
-"る) 0 に設定すると、 操作は決してタイムアウトしなくなる。 タイムアウトが影響"
-"を及ぼすのは、 ソケット I/O を実行するシステムコールだけ (例えば B<read>(2), "
-"B<recvmsg>(2), B<send>(2), B<sendmsg>(2)) である。 B<select>(2), B<poll>"
-"(2), B<epoll_wait>(2) などにはタイムアウトは影響を及ぼさない。"
+msgstr "送信・受信のタイムアウトを指定する。これを越えるとエラーを報告する。 引き数は I<struct timeval> である。 入出力関数がタイムアウト時間の間ブロックされ、かつデータの送信または 受信が行われていた場合は、転送されたデータ量が関数の返り値となる。 何もデータが転送されずにタイムアウトに達した場合は、 -1 を返し、 I<errno> に B<EAGAIN> か B<EWOULDBLOCK> か B<EINPROGRESS> (B<connect>(2) の場合) が設定され、 あたかもソケットに非ブロッキングが指定されたように見える。 タイムアウト値に (デフォルト値である) 0 に設定すると、 操作は決してタイムアウトしなくなる。 タイムアウトが影響を及ぼすのは、 ソケット I/O を実行するシステムコールだけ (例えば B<read>(2), B<recvmsg>(2), B<send>(2), B<sendmsg>(2)) である。 B<select>(2), B<poll>(2), B<epoll_wait>(2) などにはタイムアウトは影響を及ぼさない。"
#. type: TP
#: build/C/man7/socket.7:570
#. type: Plain text
#: build/C/man7/socket.7:859
-#, fuzzy
-#| msgid ""
-#| "B<getsockopt>(2), B<setsockopt>(2), B<socket>(2), B<capabilities>(7), "
-#| "B<ddp>(7), B<ip>(7), B<packet>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
msgid ""
"B<getsockopt>(2), B<connect>(2), B<setsockopt>(2), B<socket>(2), "
"B<capabilities>(7), B<ddp>(7), B<ip>(7), B<packet>(7), B<tcp>(7), B<udp>(7), "
"B<unix>(7)"
-msgstr ""
-"B<getsockopt>(2), B<setsockopt>(2), B<socket>(2), B<capabilities>(7), B<ddp>"
-"(7), B<ip>(7), B<packet>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
+msgstr "B<getsockopt>(2), B<connect>(2), B<setsockopt>(2), B<socket>(2), B<capabilities>(7), B<ddp>(7), B<ip>(7), B<packet>(7), B<tcp>(7), B<udp>(7), B<unix>(7)"
#. type: TH
#: build/C/man2/socketcall.2:25
#. type: TH
#: build/C/man2/socketcall.2:25
-#, fuzzy, no-wrap
-#| msgid "2010-10-06"
+#, no-wrap
msgid "2012-10-16"
-msgstr "2010-10-06"
+msgstr "2012-10-16"
#. type: Plain text
#: build/C/man2/socketcall.2:28
#. type: Plain text
#: build/C/man2/socketcall.2:53
-#, fuzzy
-#| msgid ""
-#| "On a few architectures, for example ia64, there is no B<socketcall>() "
-#| "system call; instead B<socket>(2), B<accept>(2), B<bind>(2), and so on "
-#| "really are implemented as separate system calls."
msgid ""
"On a some architectures\\(emfor example, x86-64 and ARM\\(emthere is no "
"B<socketcall>() system call; instead B<socket>(2), B<accept>(2), B<bind>"
"(2), and so on really are implemented as separate system calls."
-msgstr ""
-"ia64 などのいくつかのアーキテクチャでは、システムコール B<socketcall>() が存"
-"在しない。実際には、その代わりに B<socket>(2), B<accept>(2), B<bind>(2) など"
-"が独立したシステムコールとして実装されている。"
+msgstr "いくつかのアーキテクチャ\\\\(emfor 例えば x86-64 や ARM\\\\(emでは、システムコール B<socketcall>() が存在しない。実際には、その代わりに B<socket>(2), B<accept>(2), B<bind>(2) などが独立したシステムコールとして実装されている。"
#. type: Plain text
#: build/C/man2/socketcall.2:71