+#: build/C/man3/if_nameindex.3:26
+#, no-wrap
+msgid "IF_NAMEINDEX"
+msgstr ""
+
+#. type: TH
+#: build/C/man3/if_nameindex.3:26
+#, fuzzy, no-wrap
+#| msgid "2008-11-20"
+msgid "2012-11-21"
+msgstr "2008-11-20"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:29
+msgid ""
+"if_nameindex, if_freenameindex - get network interface names and indexes"
+msgstr ""
+
+#. 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"
+msgid "B<#include E<lt>net/if.hE<gt>>\n"
+msgstr "B<#include E<lt>unistd.hE<gt>>\n"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:35
+#, no-wrap
+msgid ""
+"B<struct if_nameindex *if_nameindex(void);>\n"
+"B<void if_freenameindex(struct if_nameindex *>I<ptr>B<);>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:46
+msgid ""
+"The B<if_nameindex>() function returns an array of I<if_nameindex> "
+"structures, each containing information about one of the network interfaces "
+"on the local system. The I<if_nameindex> structure contains at least the "
+"following entries:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:51
+#, no-wrap
+msgid ""
+" unsigned int if_index; /* Index of interface (1, 2, ...) */\n"
+" char *if_name; /* Null-terminated name (\"eth0\", etc.) */\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:65
+msgid ""
+"The I<if_index> field contains the interface index. The I<ifa_name> field "
+"points to the null-terminated interface name. The end of the array is "
+"indicated by entry with I<if_index> set to zero and I<ifa_name> set to NULL."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:71
+msgid ""
+"The data structure returned by B<if_nameindex>() is dynamically allocated "
+"and should be freed using B<if_freenameindex>() when no longer needed."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:78
+#, fuzzy
+#| msgid ""
+#| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
+#| "set appropriately."
+msgid ""
+"On success, B<if_nameindex>() returns pointer to the array; on error, a "
+"NULL pointer is returned, and I<errno> is set appropriately."
+msgstr ""
+"成功した場合にはゼロが返される。エラー時には -1 が返され、 I<errno> が適切に"
+"設定される。"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:83
+msgid "B<if_nameindex>() may fail and set I<errno> if:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:86
+#, fuzzy
+#| msgid "Insufficient kernel memory was available."
+msgid "Insufficient resources available."
+msgstr "カーネルに、利用可能なメモリーが十分にない。"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:97
+msgid ""
+"B<if_nameindex>() may also fail for any of the errors specified for "
+"B<socket>(2), B<bind>(2), B<ioctl>(2), B<getsockname>(2), B<recvmsg>(2), "
+"B<sendto>(2), or B<malloc>(3)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:104
+msgid ""
+"The B<if_nameindex>() function first appeared in glibc 2.1, but before "
+"glibc 2.3.4, the implementation only supported interfaces with IPv4 "
+"addresses. Support of interfaces that don't have IPv4 addresses is only "
+"available on kernels that support netlink."
+msgstr ""
+
+#. 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."
+
+#. 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。"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:112
+msgid ""
+"The program below demonstrates the use of the functions described on this "
+"page. An example of the output this program might produce is the following:"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:118
+#, no-wrap
+msgid ""
+"$ B<./a.out>I<\n"
+"1: lo\n"
+"2: wlan0\n"
+"3: em1>\n"
+msgstr ""
+
+#. 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"
+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>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"
+msgid ""
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" struct if_nameindex *if_ni, *i;\n"
+msgstr ""
+"int\n"
+"main(int argc, char *argv[])\n"
+"{\n"
+" struct ifaddrs *ifaddr, *ifa;\n"
+" int family, s;\n"
+" char host[NI_MAXHOST];\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"
+msgid ""
+" if_ni = if_nameindex();\n"
+" if (if_ni == NULL) {\n"
+" perror(\"if_nameindex\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+msgstr ""
+" if (getifaddrs(&ifaddr) == -1) {\n"
+" perror(\"getifaddrs\");\n"
+" exit(EXIT_FAILURE);\n"
+" }\n"
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:140
+#, no-wrap
+msgid ""
+" for (i = if_ni; ! (i-E<gt>if_index == 0 && i-E<gt>if_name == NULL); i++)\n"
+" printf(\"%u: %s\\en\", i-E<gt>if_index, i-E<gt>if_name);\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:142
+#, no-wrap
+msgid " if_freenameindex(if_ni);\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nameindex.3:145 build/C/man2/select.2:573
+#, no-wrap
+msgid ""
+" exit(EXIT_SUCCESS);\n"
+"}\n"
+msgstr ""
+" exit(EXIT_SUCCESS);\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)"
+
+#. type: TH
+#: build/C/man3/if_nametoindex.3:25
+#, no-wrap
+msgid "IF_NAMETOINDEX"
+msgstr ""
+
+#. type: TH
+#: build/C/man3/if_nametoindex.3:25
+#, fuzzy, no-wrap
+#| msgid "2012-02-27"
+msgid "2012-12-14"
+msgstr "2012-02-27"
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:29
+msgid ""
+"if_nametoindex, if_indextoname - mappings between network interface names "
+"and indexes"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:34
+#, no-wrap
+msgid "B<unsigned int if_nametoindex(const char *>I<ifname>B<);>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:36
+#, no-wrap
+msgid "B<char *if_indextoname(unsigned int ifindex, char *>I<ifname>B<);>\n"
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:43
+msgid ""
+"The B<if_nametoindex>() function returns the index of the network interface "
+"corresponding to the name I<ifname>."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:54
+msgid ""
+"The B<if_indextoname>() function returns the name of the network interface "
+"corresponding to the interface index I<ifindex>. The name is placed in the "
+"buffer pointed to by I<ifname>. The buffer must allow for the storage of at "
+"least B<IF_NAMESIZE> bytes."
+msgstr ""
+
+#. 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> を適切に設定にする。"
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:69
+#, fuzzy
+#| msgid ""
+#| "On success, zero is returned. On error, -1 is returned, and I<errno> is "
+#| "set appropriately."
+msgid ""
+"On success, B<if_indextoname>() returns I<ifname>; on error, NULL is "
+"returned and I<errno> is set appropriately."
+msgstr ""
+"成功した場合にはゼロが返される。エラー時には -1 が返され、 I<errno> が適切に"
+"設定される。"
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:74
+msgid "B<if_indextoname>() may fail and set I<errno> if:"
+msgstr ""
+
+#. type: TP
+#: build/C/man3/if_nametoindex.3:74
+#, fuzzy, no-wrap
+#| msgid "B<ENFILE>"
+msgid "B<ENXIO>"
+msgstr "B<ENFILE>"
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:77
+msgid "No interface found for the index."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:85
+msgid ""
+"B<if_nametoindex>() and B<if_indextoname>() may also fail for any of the "
+"errors specified for B<socket>(2) or B<ioctl>(2)."
+msgstr ""
+
+#. type: Plain text
+#: build/C/man3/if_nametoindex.3:93
+msgid "B<getifaddrs>(3), B<if_nameindex>(3), B<ifconfig>(8)"
+msgstr ""
+
+#. type: TH
+#: build/C/man2/listen.2:45