#, fuzzy msgid "" msgstr "" "Project-Id-Version: man-pages-l10n VERSION\n" "POT-Creation-Date: 2014-07-17 17:57+0900\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. type: TH #: man-pages-posix/man0p/netdb.h.0p:2 #, no-wrap msgid "netdb.h" msgstr "" #. type: TH #: man-pages-posix/man0p/netdb.h.0p:2 #, no-wrap msgid "2013" msgstr "" #. type: TH #: man-pages-posix/man0p/netdb.h.0p:2 #, no-wrap msgid "IEEE/The Open Group" msgstr "" #. type: TH #: man-pages-posix/man0p/netdb.h.0p:2 #, no-wrap msgid "POSIX Programmer's Manual" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:3 #, no-wrap msgid "PROLOG" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:8 msgid "" "This manual page is part of the POSIX Programmer's Manual. The Linux " "implementation of this interface may differ (consult the corresponding Linux " "manual page for details of Linux behavior), or the interface may not be " "implemented on Linux." msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:9 #, no-wrap msgid "NAME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:12 msgid "netdb.h \\(em definitions for network database operations" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:12 #, no-wrap msgid "SYNOPSIS" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:16 #, no-wrap msgid "#include Enetdb.hE\n" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:17 #, no-wrap msgid "DESCRIPTION" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:26 msgid "" "The Inetdb.hE> header may define the B type and the " "B type as described in Inetinet/in.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:32 msgid "" "The Inetdb.hE> header shall define the B structure, which " "shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:45 #, no-wrap msgid "" "B<\n" "char *h_name >Official name of the host.\n" "char **h_aliases A pointer to an array of pointers to\n" " alternative host names, terminated by a\n" " null pointer.\n" "int h_addrtype Address type.\n" "int h_length The length, in bytes, of the address.\n" "char **h_addr_list A pointer to an array of pointers to network\n" " addresses (in network byte order) for the host,\n" " terminated by a null pointer.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:54 msgid "" "The Inetdb.hE> header shall define the B structure, which " "shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:65 #, no-wrap msgid "" "B<\n" "char *n_name >Official, fully-qualified (including the\n" " domain) name of the host.\n" "char **n_aliases A pointer to an array of pointers to\n" " alternative network names, terminated by a\n" " null pointer.\n" "int n_addrtype The address type of the network.\n" "uint32_t n_net The network number, in host byte order.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:75 msgid "" "The Inetdb.hE> header shall define the B type as " "described in Iinttypes.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:81 msgid "" "The Inetdb.hE> header shall define the B structure, " "which shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:90 #, no-wrap msgid "" "B<\n" "char *p_name >Official name of the protocol.\n" "char **p_aliases A pointer to an array of pointers to\n" " alternative protocol names, terminated by\n" " a null pointer.\n" "int p_proto The protocol number.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:99 msgid "" "The Inetdb.hE> header shall define the B structure, which " "shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:112 #, no-wrap msgid "" "B<\n" "char *s_name >Official name of the service.\n" "char **s_aliases A pointer to an array of pointers to\n" " alternative service names, terminated by\n" " a null pointer.\n" "int s_port A value which, when converted to uint16_t,\n" " yields the port number in network byte order\n" " at which the service resides.\n" "char *s_proto The name of the protocol to use when\n" " contacting the service.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:120 msgid "" "The Inetdb.hE> header shall define the IPPORT_RESERVED symbolic " "constant with the value of the highest reserved Internet port number." msgstr "" #. type: SS #: man-pages-posix/man0p/netdb.h.0p:120 #, no-wrap msgid "Address Information Structure" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:127 msgid "" "The Inetdb.hE> header shall define the B structure, " "which shall include at least the following members:" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:139 #, no-wrap msgid "" "B<\n" "int ai_flags >Input flags.\n" "int ai_family Address family of socket.\n" "int ai_socktype Socket type.\n" "int ai_protocol Protocol of socket.\n" "socklen_t ai_addrlen Length of socket address.\n" "struct sockaddr *ai_addr Socket address of socket.\n" "char *ai_canonname Canonical name of service location.\n" "struct addrinfo *ai_next Pointer to next in list.\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:151 msgid "" "The Inetdb.hE> header shall define the following symbolic " "constants that evaluate to bitwise-distinct integer constants for use in the " "I field of the B structure:" msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:151 #, no-wrap msgid "AI_PASSIVE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:154 msgid "Socket address is intended for I()." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:154 #, no-wrap msgid "AI_CANONNAME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:156 msgid "Request for canonical name." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:156 #, no-wrap msgid "AI_NUMERICHOST" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:158 msgid "Return numeric host address as name." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:158 #, no-wrap msgid "AI_NUMERICSERV" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:160 msgid "Inhibit service name resolution." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:160 #, no-wrap msgid "AI_V4MAPPED" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:163 msgid "" "If no IPv6 addresses are found, query for IPv4 addresses and return them to " "the caller as IPv4-mapped IPv6 addresses." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:163 #, no-wrap msgid "AI_ALL" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:165 msgid "Query for both IPv4 and IPv6 addresses." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:165 #, no-wrap msgid "AI_ADDRCONFIG" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:168 msgid "" "Query for IPv4 addresses only when an IPv4 address is configured; query for " "IPv6 addresses only when an IPv6 address is configured." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:176 msgid "" "The Inetdb.hE> header shall define the following symbolic " "constants that evaluate to bitwise-distinct integer constants for use in the " "I argument to I():" msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:176 #, no-wrap msgid "NI_NOFQDN" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:178 msgid "Only the nodename portion of the FQDN is returned for local hosts." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:178 #, no-wrap msgid "NI_NUMERICHOST" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:181 msgid "" "The numeric form of the node's address is returned instead of its name." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:181 #, no-wrap msgid "NI_NAMEREQD" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:183 msgid "Return an error if the node's name cannot be located in the database." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:183 #, no-wrap msgid "NI_NUMERICSERV" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:185 msgid "" "The numeric form of the service address is returned instead of its name." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:185 #, no-wrap msgid "NI_NUMERICSCOPE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:189 msgid "" "For IPv6 addresses, the numeric form of the scope identifier is returned " "instead of its name." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:189 #, no-wrap msgid "NI_DGRAM" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:191 msgid "Indicates that the service is a datagram service (SOCK_DGRAM)." msgstr "" #. type: SS #: man-pages-posix/man0p/netdb.h.0p:191 #, no-wrap msgid "Address Information Errors" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:203 msgid "" "The Inetdb.hE> header shall define the following symbolic " "constants for use as error values for I() and I()." " The values shall be suitable for use in B<#if> preprocessing directives." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:203 #, no-wrap msgid "EAI_AGAIN" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:206 msgid "" "The name could not be resolved at this time. Future attempts may succeed." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:206 #, no-wrap msgid "EAI_BADFLAGS" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:208 msgid "The flags had an invalid value." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:208 #, no-wrap msgid "EAI_FAIL" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:210 msgid "A non-recoverable error occurred." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:210 #, no-wrap msgid "EAI_FAMILY" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:213 msgid "" "The address family was not recognized or the address length was invalid for " "the specified family." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:213 #, no-wrap msgid "EAI_MEMORY" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:215 msgid "There was a memory allocation failure." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:215 #, no-wrap msgid "EAI_NONAME" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:217 msgid "The name does not resolve for the supplied parameters." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:224 msgid "" "NI_NAMEREQD is set and the host's name cannot be located, or both " "I and I were null." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:225 #, no-wrap msgid "EAI_SERVICE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:227 msgid "The service passed was not recognized for the specified socket type." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:227 #, no-wrap msgid "EAI_SOCKTYPE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:229 msgid "The intended socket type was not recognized." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:229 #, no-wrap msgid "EAI_SYSTEM" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:232 msgid "A system error occurred. The error code can be found in I." msgstr "" #. type: IP #: man-pages-posix/man0p/netdb.h.0p:232 #, no-wrap msgid "EAI_OVERFLOW" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:234 msgid "An argument buffer overflowed." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:237 msgid "" "The following shall be declared as functions and may also be defined as " "macros. Function prototypes shall be provided." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:267 #, no-wrap msgid "" "B<\n" "void endhostent(void);\n" "void endnetent(void);\n" "void endprotoent(void);\n" "void endservent(void);\n" "void freeaddrinfo(struct addrinfo *);\n" "const char *gai_strerror(int);\n" "int getaddrinfo(const char *restrict, const char *restrict,\n" " const struct addrinfo *restrict,\n" " struct addrinfo **restrict);\n" "struct hostent *gethostent(void);\n" "int getnameinfo(const struct sockaddr *restrict, socklen_t,\n" " char *restrict, socklen_t, char *restrict,\n" " socklen_t, int);\n" "struct netent *getnetbyaddr(uint32_t, int);\n" "struct netent *getnetbyname(const char *);\n" "struct netent *getnetent(void);\n" "struct protoent *getprotobyname(const char *);\n" "struct protoent *getprotobynumber(int);\n" "struct protoent *getprotoent(void);\n" "struct servent *getservbyname(const char *, const char *);\n" "struct servent *getservbyport(int, const char *);\n" "struct servent *getservent(void);\n" "void sethostent(int);\n" "void setnetent(int);\n" "void setprotoent(int);\n" "void setservent(int);>\n" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:279 msgid "" "The Inetdb.hE> header shall define the B type through " "B, as described in Isys/socket.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:287 msgid "" "Inclusion of the Inetdb.hE> header may also make visible all " "symbols from Inetinet/in.hE>, Isys/socket.hE>, and " "Iinttypes.hE>." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:289 msgid "I" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:289 #, no-wrap msgid "APPLICATION USAGE" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:291 man-pages-posix/man0p/netdb.h.0p:293 man-pages-posix/man0p/netdb.h.0p:295 msgid "None." msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:291 #, no-wrap msgid "RATIONALE" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:293 #, no-wrap msgid "FUTURE DIRECTIONS" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:295 #, no-wrap msgid "SEE ALSO" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:299 msgid "" "Binttypes.hE>, Bnetinet_in.hE>, Bsys_socket." "hE>" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:309 msgid "" "The System Interfaces volume of POSIX.1\\(hy2008, I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I\\^(\\|), I\\^(\\|), I\\^(\\|), " "I\\^(\\|)" msgstr "" #. type: SH #: man-pages-posix/man0p/netdb.h.0p:309 #, no-wrap msgid "COPYRIGHT" msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:320 msgid "" "Portions of this text are reprinted and reproduced in electronic form from " "IEEE Std 1003.1, 2013 Edition, Standard for Information Technology -- " "Portable Operating System Interface (POSIX), The Open Group Base " "Specifications Issue 7, Copyright (C) 2013 by the Institute of Electrical " "and Electronics Engineers, Inc and The Open Group. (This is POSIX.1-2008 " "with the 2013 Technical Corrigendum 1 applied.) In the event of any " "discrepancy between this version and the original IEEE and The Open Group " "Standard, the original IEEE and The Open Group Standard is the referee " "document. The original Standard can be obtained online at http://www.unix." "org/online.html ." msgstr "" #. type: Plain text #: man-pages-posix/man0p/netdb.h.0p:325 msgid "" "Any typographical or formatting errors that appear in this page are most " "likely to have been introduced during the conversion of the source files to " "man page format. To report such errors, see https://www.kernel.org/doc/man-" "pages/reporting_bugs.html ." msgstr ""