| 1 |
# Brazilian Portuguese translation of manpages |
| 2 |
# This file is distributed under the same license as the manpages-l10n package. |
| 3 |
# Copyright © of this file: |
| 4 |
# Felipe M Pereira <[email protected]>, 2001. |
| 5 |
# André Luiz Fassone <[email protected]>, 2001. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 10 |
"PO-Revision-Date: 2001-06-02 19:20-0300\n" |
| 11 |
"Last-Translator: André Luiz Fassone <[email protected]>\n" |
| 12 |
"Language-Team: Brazilian Portuguese <debian-l10n-" |
| 13 |
"[email protected]>\n" |
| 14 |
"Language: pt_BR\n" |
| 15 |
"MIME-Version: 1.0\n" |
| 16 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 17 |
"Content-Transfer-Encoding: 8bit\n" |
| 18 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 19 |
"X-Generator: Virtaal 1.0.0-beta1\n" |
| 20 |
|
| 21 |
#. type: TH |
| 22 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 23 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 24 |
#, fuzzy, no-wrap |
| 25 |
#| msgid "B<gethostbyname>()" |
| 26 |
msgid "gethostbyname" |
| 27 |
msgstr "B<gethostbyname>()" |
| 28 |
|
| 29 |
#. type: TH |
| 30 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 31 |
#: opensuse-tumbleweed |
| 32 |
#, no-wrap |
| 33 |
msgid "2026-02-08" |
| 34 |
msgstr "8 fevereiro 2026" |
| 35 |
|
| 36 |
#. type: TH |
| 37 |
#: archlinux debian-unstable |
| 38 |
#, fuzzy, no-wrap |
| 39 |
#| msgid "Linux man-pages 6.17" |
| 40 |
msgid "Linux man-pages 6.18" |
| 41 |
msgstr "Linux man-pages 6.17" |
| 42 |
|
| 43 |
#. type: SH |
| 44 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 45 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 46 |
#, no-wrap |
| 47 |
msgid "NAME" |
| 48 |
msgstr "NOME" |
| 49 |
|
| 50 |
#. type: Plain text |
| 51 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 52 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 53 |
msgid "" |
| 54 |
"gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, " |
| 55 |
"herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, " |
| 56 |
"gethostbyname_r, gethostent_r - get network host entry" |
| 57 |
msgstr "" |
| 58 |
"gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent, h_errno, " |
| 59 |
"herror, hstrerror, gethostbyaddr_r, gethostbyname2, gethostbyname2_r, " |
| 60 |
"gethostbyname_r, gethostent_r - obtém entrada de 'host' de rede" |
| 61 |
|
| 62 |
#. type: SH |
| 63 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 64 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
#, no-wrap |
| 66 |
msgid "LIBRARY" |
| 67 |
msgstr "BIBLIOTECA" |
| 68 |
|
| 69 |
#. type: Plain text |
| 70 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 71 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 73 |
msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)" |
| 74 |
|
| 75 |
#. type: SH |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "SYNOPSIS" |
| 80 |
msgstr "SINOPSE" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 84 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 85 |
#, no-wrap |
| 86 |
msgid "B<#include E<lt>netdb.hE<gt>>\n" |
| 87 |
msgstr "B<#include E<lt>netdb.hE<gt>>\n" |
| 88 |
|
| 89 |
#. type: Plain text |
| 90 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 91 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 92 |
#, fuzzy, no-wrap |
| 93 |
#| msgid "B<void sethostent(int >I<stayopen>B<);>\n" |
| 94 |
msgid "" |
| 95 |
"B<void sethostent(int >I<stayopen>B<);>\n" |
| 96 |
"B<void endhostent(void);>\n" |
| 97 |
msgstr "B<void sethostent(int >I<stayopen>B<);>\n" |
| 98 |
|
| 99 |
#. type: Plain text |
| 100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 102 |
#, fuzzy, no-wrap |
| 103 |
#| msgid "" |
| 104 |
#| "B<#include E<lt>netdb.hE<gt>>\n" |
| 105 |
#| "B<extern int h_errno;>\n" |
| 106 |
msgid "B<[[deprecated]] extern int h_errno;>\n" |
| 107 |
msgstr "" |
| 108 |
"B<#include E<lt>netdb.hE<gt>>\n" |
| 109 |
"B<extern int h_errno;>\n" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 113 |
#: opensuse-tumbleweed |
| 114 |
#, fuzzy, no-wrap |
| 115 |
#| msgid "" |
| 116 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 117 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 118 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 119 |
msgid "" |
| 120 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 121 |
"B<[[deprecated]] struct hostent *gethostbyaddr(>socklen_t size;\n" |
| 122 |
"B< const void >I<addr>B<[>I<size>B<],>\n" |
| 123 |
"B< socklen_t >I<size>B<, int >I<type>B<);>\n" |
| 124 |
msgstr "" |
| 125 |
"B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 126 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 127 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 128 |
|
| 129 |
#. type: Plain text |
| 130 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 131 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 132 |
#, fuzzy, no-wrap |
| 133 |
#| msgid "B<const char *hstrerror(int >I<err>B<);>\n" |
| 134 |
msgid "" |
| 135 |
"B<[[deprecated]] void herror(const char *>I<s>B<);>\n" |
| 136 |
"B<[[deprecated]] const char *hstrerror(int >I<err>B<);>\n" |
| 137 |
msgstr "B<const char *hstrerror(int >I<err>B<);>\n" |
| 138 |
|
| 139 |
#. type: Plain text |
| 140 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 141 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 142 |
#, no-wrap |
| 143 |
msgid "" |
| 144 |
"/* System V/POSIX extension */\n" |
| 145 |
"B<struct hostent *gethostent(void);>\n" |
| 146 |
msgstr "" |
| 147 |
|
| 148 |
#. type: Plain text |
| 149 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 150 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 151 |
#, fuzzy, no-wrap |
| 152 |
#| msgid "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 153 |
msgid "" |
| 154 |
"/* GNU extensions */\n" |
| 155 |
"B<[[deprecated]]>\n" |
| 156 |
"B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 157 |
msgstr "B<struct hostent *gethostbyname2(const char *>I<name>B<, int >I<af>B<);>\n" |
| 158 |
|
| 159 |
#. type: Plain text |
| 160 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 161 |
#: opensuse-tumbleweed |
| 162 |
#, fuzzy, no-wrap |
| 163 |
#| msgid "" |
| 164 |
#| "B<int gethostent_r(>\n" |
| 165 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 166 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 167 |
msgid "" |
| 168 |
"B<int gethostent_r(>size_t bufsize;\n" |
| 169 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 170 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 171 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 172 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 173 |
msgstr "" |
| 174 |
"B<int gethostent_r(>\n" |
| 175 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 176 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 177 |
|
| 178 |
#. type: Plain text |
| 179 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 180 |
#: opensuse-tumbleweed |
| 181 |
#, no-wrap |
| 182 |
msgid "" |
| 183 |
"B<[[deprecated]]>\n" |
| 184 |
"B<int gethostbyaddr_r(>socklen_t size, size_t bufsize;\n" |
| 185 |
"B< const void >I<addr>B<[restrict >I<size>B<], socklen_t >I<size>B<,>\n" |
| 186 |
"B< int >I<type>B<,>\n" |
| 187 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 188 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 189 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 190 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 191 |
"B<[[deprecated]]>\n" |
| 192 |
"B<int gethostbyname_r(>size_t bufsize;\n" |
| 193 |
"B< const char *restrict >I<name>B<,>\n" |
| 194 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 195 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 196 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 197 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 198 |
"B<[[deprecated]]>\n" |
| 199 |
"B<int gethostbyname2_r(>size_t bufsize;\n" |
| 200 |
"B< const char *restrict >I<name>B<, int >I<af,>\n" |
| 201 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 202 |
"B< char >I<buf>B<[restrict >I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 203 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 204 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 205 |
msgstr "" |
| 206 |
|
| 207 |
#. type: Plain text |
| 208 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 209 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 210 |
msgid "" |
| 211 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 212 |
msgstr "" |
| 213 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 214 |
"B<feature_test_macros>(7)):" |
| 215 |
|
| 216 |
#. type: Plain text |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
msgid "" |
| 220 |
"B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 221 |
"B<gethostbyname_r>(), B<gethostbyname2_r>():" |
| 222 |
msgstr "" |
| 223 |
"B<gethostbyname2>(), B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 224 |
"B<gethostbyname_r>(), B<gethostbyname2_r>():" |
| 225 |
|
| 226 |
#. type: Plain text |
| 227 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 228 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 229 |
#, fuzzy, no-wrap |
| 230 |
#| msgid "" |
| 231 |
#| "/* Since glibc 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n" |
| 232 |
#| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 233 |
msgid "" |
| 234 |
" Since glibc 2.19:\n" |
| 235 |
" _DEFAULT_SOURCE\n" |
| 236 |
" glibc up to and including 2.19:\n" |
| 237 |
" _BSD_SOURCE || _SVID_SOURCE\n" |
| 238 |
msgstr "" |
| 239 |
"/* Desde o 2.10: */ _POSIX_C_SOURCE\\ E<gt>=\\ 200809L\n" |
| 240 |
" || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 241 |
|
| 242 |
#. type: Plain text |
| 243 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 244 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 245 |
msgid "B<herror>(), B<hstrerror>():" |
| 246 |
msgstr "B<herror>(), B<hstrerror>():" |
| 247 |
|
| 248 |
#. type: Plain text |
| 249 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 250 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 251 |
#, fuzzy, no-wrap |
| 252 |
#| msgid "" |
| 253 |
#| " Since glibc 2.21:\n" |
| 254 |
#| " _DEFAULT_SOURCE\n" |
| 255 |
#| " In glibc 2.19 and 2.20:\n" |
| 256 |
#| " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 257 |
#| " Up to and including glibc 2.19:\n" |
| 258 |
#| " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 259 |
msgid "" |
| 260 |
" Since glibc 2.19:\n" |
| 261 |
" _DEFAULT_SOURCE\n" |
| 262 |
" glibc 2.8 to glibc 2.19:\n" |
| 263 |
" _BSD_SOURCE || _SVID_SOURCE\n" |
| 264 |
" Before glibc 2.8:\n" |
| 265 |
" none\n" |
| 266 |
msgstr "" |
| 267 |
" Desde o glibc 2.21:\n" |
| 268 |
" _DEFAULT_SOURCE\n" |
| 269 |
" No glibc 2.19 e 2.20:\n" |
| 270 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 271 |
" Até e incluindo o glibc 2.19:\n" |
| 272 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 273 |
|
| 274 |
#. type: Plain text |
| 275 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 276 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 277 |
msgid "B<h_errno>:" |
| 278 |
msgstr "B<h_errno>:" |
| 279 |
|
| 280 |
#. type: Plain text |
| 281 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 282 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 283 |
#, fuzzy, no-wrap |
| 284 |
#| msgid "" |
| 285 |
#| " Since glibc 2.21:\n" |
| 286 |
#| " _DEFAULT_SOURCE\n" |
| 287 |
#| " In glibc 2.19 and 2.20:\n" |
| 288 |
#| " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 289 |
#| " Up to and including glibc 2.19:\n" |
| 290 |
#| " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 291 |
msgid "" |
| 292 |
" Since glibc 2.19\n" |
| 293 |
" _DEFAULT_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n" |
| 294 |
" glibc 2.12 to glibc 2.19:\n" |
| 295 |
" _BSD_SOURCE || _SVID_SOURCE || _POSIX_C_SOURCE E<lt> 200809L\n" |
| 296 |
" Before glibc 2.12:\n" |
| 297 |
" none\n" |
| 298 |
msgstr "" |
| 299 |
" Desde o glibc 2.21:\n" |
| 300 |
" _DEFAULT_SOURCE\n" |
| 301 |
" No glibc 2.19 e 2.20:\n" |
| 302 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 303 |
" Até e incluindo o glibc 2.19:\n" |
| 304 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n" |
| 305 |
|
| 306 |
#. type: SH |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
#, no-wrap |
| 310 |
msgid "DESCRIPTION" |
| 311 |
msgstr "DESCRIÇÃO" |
| 312 |
|
| 313 |
#. type: Plain text |
| 314 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 315 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 316 |
msgid "" |
| 317 |
"The B<gethostbyname*>(), B<gethostbyaddr*>(), B<herror>(), and " |
| 318 |
"B<hstrerror>() functions are obsolete. Applications should use " |
| 319 |
"B<getaddrinfo>(3), B<getnameinfo>(3), and B<gai_strerror>(3) instead." |
| 320 |
msgstr "" |
| 321 |
|
| 322 |
#. type: Plain text |
| 323 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 324 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 325 |
msgid "" |
| 326 |
"The B<sethostent>() function specifies, if I<stayopen> is true (1), that a " |
| 327 |
"connected TCP socket should be used for the name server queries and that the " |
| 328 |
"connection should remain open during successive queries. Otherwise, name " |
| 329 |
"server queries will use UDP datagrams." |
| 330 |
msgstr "" |
| 331 |
"A função B<sethostent>() especifica, se I<stayopen> é verdadeiro (1), que um " |
| 332 |
"socket TCP conectado deve ser usado para as buscas do servidor de nomes e " |
| 333 |
"que a conexão deve permanecer aberta durante as buscas subseqüentes. Caso " |
| 334 |
"contrário, as buscas do servidor de nomes usarão datagramas UDP." |
| 335 |
|
| 336 |
#. type: Plain text |
| 337 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 338 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 339 |
msgid "" |
| 340 |
"The B<endhostent>() function ends the use of a TCP connection for name " |
| 341 |
"server queries." |
| 342 |
msgstr "" |
| 343 |
"A função B<endhostent>() finaliza o uso de uma conexão TCP para as buscas do " |
| 344 |
"servidor de nomes." |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, fuzzy |
| 350 |
#| msgid "" |
| 351 |
#| "The B<gethostbyname()> function returns a structure of type I<hostent> " |
| 352 |
#| "for the given host I<name>. Here I<name> is either a host name, or an " |
| 353 |
#| "IPv4 address in standard dot notation, or an IPv6 address in colon (and " |
| 354 |
#| "possibly dot) notation. (See RFC 1884 for the description of IPv6 " |
| 355 |
#| "addresses.) If I<name> is an IPv4 or IPv6 address, no lookup is " |
| 356 |
#| "performed and B<gethostbyname>() simply copies I<name> into the " |
| 357 |
#| "I<h_name> field and its I<struct in_addr> equivalent into the " |
| 358 |
#| "I<h_addr_list[0]> field of the returned I<hostent> structure. If I<name> " |
| 359 |
#| "doesn't end in a dot and the environment variable B<HOSTALIASES> is set, " |
| 360 |
#| "the alias file pointed to by B<HOSTALIASES> will first be searched for " |
| 361 |
#| "I<name> (see B<hostname>(7) for the file format). The current domain " |
| 362 |
#| "and its parents are searched unless I<name> ends in a dot." |
| 363 |
msgid "" |
| 364 |
"The B<gethostbyname>() function returns a structure of type I<hostent> for " |
| 365 |
"the given host I<name>. Here I<name> is either a hostname or an IPv4 " |
| 366 |
"address in standard dot notation (as for B<inet_addr>(3)). If I<name> is an " |
| 367 |
"IPv4 address, no lookup is performed and B<gethostbyname>() simply copies " |
| 368 |
"I<name> into the I<h_name> field and its I<struct in_addr> equivalent into " |
| 369 |
"the I<h_addr_list[0]> field of the returned I<hostent> structure. If " |
| 370 |
"I<name> doesn't end in a dot and the environment variable B<HOSTALIASES> is " |
| 371 |
"set, the alias file pointed to by B<HOSTALIASES> will first be searched for " |
| 372 |
"I<name> (see B<hostname>(7) for the file format). The current domain and " |
| 373 |
"its parents are searched unless I<name> ends in a dot." |
| 374 |
msgstr "" |
| 375 |
"A função B<gethostbyname()> retorna uma estrutura do tipo I<hostent> para o " |
| 376 |
"'host' I<name>. Aqui I<name> é ou um nome de 'host', ou um endereço IPv4 na " |
| 377 |
"notação padrão utilizando pontos, ou um endereço IPv6 em notação utilizando " |
| 378 |
"dois-pontos (e possivelmente pontos). (Veja RFC 1884 para a descrição dos " |
| 379 |
"endereços IPv6). Se I<nome> é um endereço IPv4 ou IPv6, nenhuma busca é " |
| 380 |
"realizada e B<gethostbyname>() simplesmente copia I<name> para o campo " |
| 381 |
"I<h_name> e sua I<struct in_addr> equivalente para o campo I<h_addr_list[0]> " |
| 382 |
"da estrutura I<hostent> retornada. Se I<name> não termina num ponto e a " |
| 383 |
"variável de ambiente B<HOSTALIASES> está definida, o arquivo de alias " |
| 384 |
"apontado por B<HOSTALIASES> será percorrido em busca de I<name> primeiro " |
| 385 |
"(veja B<hostname>(7) para o formato do arquivo). O domínio atual e seus pais " |
| 386 |
"são procurados a não ser que I<name> termine num ponto." |
| 387 |
|
| 388 |
#. type: Plain text |
| 389 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 390 |
#: opensuse-tumbleweed |
| 391 |
#, fuzzy |
| 392 |
#| msgid "" |
| 393 |
#| "The B<gethostbyaddr()> function returns a structure of type I<hostent> " |
| 394 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 395 |
#| "I<type>. The only valid address type is currently B<AF_INET>." |
| 396 |
msgid "" |
| 397 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 398 |
"the given host address I<addr> of size I<size> and address type I<type>. " |
| 399 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 400 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 401 |
"type depending on the address type, for example a I<struct\\ in_addr\\ *> " |
| 402 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 403 |
"B<AF_INET>." |
| 404 |
msgstr "" |
| 405 |
"A função B<gethostbyaddr()> retorna uma estrutura do tipo I<hostent> para o " |
| 406 |
"endereço de 'host' I<addr> dado de tamanho I<len> e tipo de endereço " |
| 407 |
"I<type>. O único tipo de endereço válido no momento é B<AF_INET>." |
| 408 |
|
| 409 |
#. type: Plain text |
| 410 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 411 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 412 |
msgid "" |
| 413 |
"The (obsolete) B<herror>() function prints the error message associated " |
| 414 |
"with the current value of I<h_errno> on I<stderr>." |
| 415 |
msgstr "" |
| 416 |
"A função (obsoleta) B<herror>() mostra a mensagem de erro associada com o " |
| 417 |
"valor atual de I<h_errno> em I<stderr>." |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 421 |
#: opensuse-tumbleweed |
| 422 |
#, fuzzy |
| 423 |
#| msgid "" |
| 424 |
#| "The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 425 |
#| "I<h_errno>) and returns the corresponding message string." |
| 426 |
msgid "" |
| 427 |
"The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 428 |
"I<h_errno>) and returns the corresponding message string." |
| 429 |
msgstr "" |
| 430 |
"A função (obsoleta) B<hstrerror>() toma um número de erro (tipicamente " |
| 431 |
"I<h_errno>) e retorna a string da mensagem correspondente." |
| 432 |
|
| 433 |
#. type: Plain text |
| 434 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 435 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 436 |
msgid "" |
| 437 |
"The domain name queries carried out by B<gethostbyname>() and " |
| 438 |
"B<gethostbyaddr>() rely on the Name Service Switch (B<nsswitch.conf>(5)) " |
| 439 |
"configured sources or a local name server (B<named>(8)). The default action " |
| 440 |
"is to query the Name Service Switch (B<nsswitch.conf>(5)) configured " |
| 441 |
"sources, failing that, a local name server (B<named>(8))." |
| 442 |
msgstr "" |
| 443 |
|
| 444 |
#. type: SS |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, fuzzy, no-wrap |
| 448 |
#| msgid "History" |
| 449 |
msgid "Historical" |
| 450 |
msgstr "História" |
| 451 |
|
| 452 |
#. type: Plain text |
| 453 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 454 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 455 |
msgid "" |
| 456 |
"The B<nsswitch.conf>(5) file is the modern way of controlling the order of " |
| 457 |
"host lookups." |
| 458 |
msgstr "" |
| 459 |
|
| 460 |
#. type: Plain text |
| 461 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 462 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 463 |
msgid "" |
| 464 |
"In glibc 2.4 and earlier, the I<order> keyword was used to control the order " |
| 465 |
"of host lookups as defined in I</etc/host.conf> (B<host.conf>(5))." |
| 466 |
msgstr "" |
| 467 |
|
| 468 |
#. type: Plain text |
| 469 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 470 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 471 |
msgid "The I<hostent> structure is defined in I<E<lt>netdb.hE<gt>> as follows:" |
| 472 |
msgstr "" |
| 473 |
"A estrutura I<hostent> está definida em I<E<lt>netdb.hE<gt>> como segue:" |
| 474 |
|
| 475 |
#. type: Plain text |
| 476 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 477 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 478 |
#, fuzzy, no-wrap |
| 479 |
#| msgid "" |
| 480 |
#| "struct hostent {\n" |
| 481 |
#| "\tchar\t*h_name;\t\t/* official name of host */\n" |
| 482 |
#| "\tchar\t**h_aliases;\t\t/* alias list */\n" |
| 483 |
#| "\tint\th_addrtype;\t\t/* host address type */\n" |
| 484 |
#| "\tint\th_length;\t\t/* length of address */\n" |
| 485 |
#| "\tchar\t**h_addr_list;\t\t/* list of addresses */\n" |
| 486 |
#| "}\n" |
| 487 |
#| "#define h_addr\th_addr_list[0]\t\t/* for backward compatibility */\n" |
| 488 |
msgid "" |
| 489 |
"struct hostent {\n" |
| 490 |
" char *h_name; /* official name of host */\n" |
| 491 |
" char **h_aliases; /* alias list */\n" |
| 492 |
" int h_addrtype; /* host address type */\n" |
| 493 |
" int h_length; /* size of address */\n" |
| 494 |
" char **h_addr_list; /* list of addresses */\n" |
| 495 |
"}\n" |
| 496 |
"#define h_addr h_addr_list[0] /* for backward compatibility */\n" |
| 497 |
msgstr "" |
| 498 |
"struct hostent {\n" |
| 499 |
"\tchar\t*h_name;\t\t/* nome oficial do 'host' */\n" |
| 500 |
"\tchar\t**h_aliases;\t\t/* lista de aliases */\n" |
| 501 |
"\tint\th_addrtype;\t\t/* tipo de endereço da 'host' */\n" |
| 502 |
"\tint\th_length;\t\t/* tamanho do endereço */\n" |
| 503 |
"\tchar\t**h_addr_list;\t\t/* lista de endereços */\n" |
| 504 |
"}\n" |
| 505 |
"#define h_addr\th_addr_list[0]\t\t/* para compatibilidade */\n" |
| 506 |
|
| 507 |
#. type: Plain text |
| 508 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 509 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 510 |
msgid "The members of the I<hostent> structure are:" |
| 511 |
msgstr "Os membros da estrutura I<hostent> são:" |
| 512 |
|
| 513 |
#. type: TP |
| 514 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 515 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 516 |
#, no-wrap |
| 517 |
msgid "I<h_name>" |
| 518 |
msgstr "I<h_name>" |
| 519 |
|
| 520 |
#. type: Plain text |
| 521 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 522 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 523 |
msgid "The official name of the host." |
| 524 |
msgstr "O nome oficial do 'host'." |
| 525 |
|
| 526 |
#. type: TP |
| 527 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 528 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 529 |
#, no-wrap |
| 530 |
msgid "I<h_aliases>" |
| 531 |
msgstr "I<h_aliases>" |
| 532 |
|
| 533 |
#. type: Plain text |
| 534 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 535 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 536 |
#, fuzzy |
| 537 |
#| msgid "A zero-terminated array of alternative names for the host." |
| 538 |
msgid "" |
| 539 |
"An array of alternative names for the host, terminated by a null pointer." |
| 540 |
msgstr "Um array terminado por zero de nomes alternativos para o 'host'." |
| 541 |
|
| 542 |
#. type: TP |
| 543 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 544 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 545 |
#, no-wrap |
| 546 |
msgid "I<h_addrtype>" |
| 547 |
msgstr "I<h_addrtype>" |
| 548 |
|
| 549 |
#. type: Plain text |
| 550 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 551 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 552 |
msgid "The type of address; always B<AF_INET> or B<AF_INET6> at present." |
| 553 |
msgstr "O tipo do endereço; sempre B<AF_INET> ou B<AF_INET6> no momento." |
| 554 |
|
| 555 |
#. type: TP |
| 556 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 557 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 558 |
#, no-wrap |
| 559 |
msgid "I<h_length>" |
| 560 |
msgstr "I<h_length>" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 564 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 565 |
#, fuzzy |
| 566 |
#| msgid "The length of the address in bytes." |
| 567 |
msgid "The size of the address in bytes." |
| 568 |
msgstr "O tamanho do endereço em bytes." |
| 569 |
|
| 570 |
#. type: TP |
| 571 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 572 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 573 |
#, no-wrap |
| 574 |
msgid "I<h_addr_list>" |
| 575 |
msgstr "I<h_addr_list>" |
| 576 |
|
| 577 |
#. type: Plain text |
| 578 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 579 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 580 |
#, fuzzy |
| 581 |
#| msgid "" |
| 582 |
#| "A zero-terminated array of network addresses for the host in network byte " |
| 583 |
#| "order." |
| 584 |
msgid "" |
| 585 |
"An array of pointers to network addresses for the host (in network byte " |
| 586 |
"order), terminated by a null pointer." |
| 587 |
msgstr "" |
| 588 |
"Um array terminado por zero de endereços de rede para o 'host' na ordem de " |
| 589 |
"byte da rede." |
| 590 |
|
| 591 |
#. type: TP |
| 592 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 593 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 594 |
#, no-wrap |
| 595 |
msgid "I<h_addr>" |
| 596 |
msgstr "I<h_addr>" |
| 597 |
|
| 598 |
#. type: Plain text |
| 599 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 600 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 601 |
msgid "The first address in I<h_addr_list> for backward compatibility." |
| 602 |
msgstr "O primeiro endereço em I<h_addr_list> para compatibilidade." |
| 603 |
|
| 604 |
#. type: SH |
| 605 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 606 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 607 |
#, no-wrap |
| 608 |
msgid "RETURN VALUE" |
| 609 |
msgstr "VALOR DE RETORNO" |
| 610 |
|
| 611 |
#. type: Plain text |
| 612 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 613 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 614 |
#, fuzzy |
| 615 |
#| msgid "" |
| 616 |
#| "The B<gethostbyname()> and B<gethostbyaddr()> functions return the " |
| 617 |
#| "I<hostent> structure or a NULL pointer if an error occurs. On error, the " |
| 618 |
#| "I<h_errno> variable holds an error number." |
| 619 |
msgid "" |
| 620 |
"The B<gethostbyname>() and B<gethostbyaddr>() functions return the " |
| 621 |
"I<hostent> structure or a null pointer if an error occurs. On error, the " |
| 622 |
"I<h_errno> variable holds an error number. When non-NULL, the return value " |
| 623 |
"may point at static data, see the notes below." |
| 624 |
msgstr "" |
| 625 |
"As funções B<gethostbyname()> and B<gethostbyaddr()> retornam a estrutura " |
| 626 |
"I<hostent> ou um ponteiro NULL se um erro ocorre. No erro, a variável " |
| 627 |
"I<h_errno> guarda o número de um erro." |
| 628 |
|
| 629 |
#. type: SH |
| 630 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 631 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 632 |
#, no-wrap |
| 633 |
msgid "ERRORS" |
| 634 |
msgstr "ERROS" |
| 635 |
|
| 636 |
#. type: Plain text |
| 637 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 638 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 639 |
msgid "The variable I<h_errno> can have the following values:" |
| 640 |
msgstr "A variável I<h_errno> pode ter os seguintes valores:" |
| 641 |
|
| 642 |
#. type: TP |
| 643 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 644 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 645 |
#, no-wrap |
| 646 |
msgid "B<HOST_NOT_FOUND>" |
| 647 |
msgstr "B<HOST_NOT_FOUND>" |
| 648 |
|
| 649 |
#. type: Plain text |
| 650 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 651 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 652 |
msgid "The specified host is unknown." |
| 653 |
msgstr "O 'host' especificada é desconhecida." |
| 654 |
|
| 655 |
#. type: TP |
| 656 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 657 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 658 |
#, no-wrap |
| 659 |
msgid "B<NO_DATA>" |
| 660 |
msgstr "B<NO_DATA>" |
| 661 |
|
| 662 |
#. type: Plain text |
| 663 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 664 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 665 |
msgid "" |
| 666 |
"The requested name is valid but does not have an IP address. Another type " |
| 667 |
"of request to the name server for this domain may return an answer. The " |
| 668 |
"constant B<NO_ADDRESS> is a synonym for B<NO_DATA>." |
| 669 |
msgstr "" |
| 670 |
|
| 671 |
#. type: TP |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
#, no-wrap |
| 675 |
msgid "B<NO_RECOVERY>" |
| 676 |
msgstr "B<NO_RECOVERY>" |
| 677 |
|
| 678 |
#. type: Plain text |
| 679 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 680 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 681 |
msgid "A nonrecoverable name server error occurred." |
| 682 |
msgstr "Um erro não-recuperável do servidor de nomes ocorreu." |
| 683 |
|
| 684 |
#. type: TP |
| 685 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 686 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 687 |
#, no-wrap |
| 688 |
msgid "B<TRY_AGAIN>" |
| 689 |
msgstr "B<TRY_AGAIN>" |
| 690 |
|
| 691 |
#. type: Plain text |
| 692 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 693 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 694 |
msgid "" |
| 695 |
"A temporary error occurred on an authoritative name server. Try again later." |
| 696 |
msgstr "" |
| 697 |
"Um erro temporário ocorreu em um servidor de nomes autoritativo. Tente " |
| 698 |
"novamente mais tarde." |
| 699 |
|
| 700 |
#. type: SH |
| 701 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 702 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 703 |
#, no-wrap |
| 704 |
msgid "FILES" |
| 705 |
msgstr "ARQUIVOS" |
| 706 |
|
| 707 |
#. type: TP |
| 708 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 709 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 710 |
#, no-wrap |
| 711 |
msgid "I</etc/host.conf>" |
| 712 |
msgstr "I</etc/host.conf>" |
| 713 |
|
| 714 |
#. type: Plain text |
| 715 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 716 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 717 |
msgid "resolver configuration file" |
| 718 |
msgstr "arquivo de configuração do resolvedor" |
| 719 |
|
| 720 |
#. type: TP |
| 721 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 722 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 723 |
#, no-wrap |
| 724 |
msgid "I</etc/hosts>" |
| 725 |
msgstr "I</etc/hosts>" |
| 726 |
|
| 727 |
#. type: Plain text |
| 728 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 729 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 730 |
msgid "host database file" |
| 731 |
msgstr "arquivo do banco de dados de 'host'" |
| 732 |
|
| 733 |
#. type: TP |
| 734 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 735 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 736 |
#, no-wrap |
| 737 |
msgid "I</etc/nsswitch.conf>" |
| 738 |
msgstr "I</etc/nsswitch.conf>" |
| 739 |
|
| 740 |
#. type: Plain text |
| 741 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 742 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
#, fuzzy |
| 744 |
#| msgid "resolver configuration file" |
| 745 |
msgid "name service switch configuration" |
| 746 |
msgstr "arquivo de configuração do resolvedor" |
| 747 |
|
| 748 |
#. type: SH |
| 749 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 750 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 751 |
#, no-wrap |
| 752 |
msgid "ATTRIBUTES" |
| 753 |
msgstr "ATRIBUTOS" |
| 754 |
|
| 755 |
#. type: Plain text |
| 756 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 757 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 758 |
msgid "" |
| 759 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 760 |
msgstr "" |
| 761 |
"Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)." |
| 762 |
|
| 763 |
#. type: tbl table |
| 764 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 765 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 766 |
#, no-wrap |
| 767 |
msgid "Interface" |
| 768 |
msgstr "Interface" |
| 769 |
|
| 770 |
#. type: tbl table |
| 771 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 772 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 773 |
#, no-wrap |
| 774 |
msgid "Attribute" |
| 775 |
msgstr "Atributo" |
| 776 |
|
| 777 |
#. type: tbl table |
| 778 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 779 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 780 |
#, no-wrap |
| 781 |
msgid "Value" |
| 782 |
msgstr "Valor" |
| 783 |
|
| 784 |
#. type: tbl table |
| 785 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 786 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 787 |
#, no-wrap |
| 788 |
msgid ".na\n" |
| 789 |
msgstr ".na\n" |
| 790 |
|
| 791 |
#. type: tbl table |
| 792 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 793 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 794 |
#, no-wrap |
| 795 |
msgid ".nh\n" |
| 796 |
msgstr ".nh\n" |
| 797 |
|
| 798 |
#. type: TP |
| 799 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 800 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 801 |
#, no-wrap |
| 802 |
msgid "B<gethostbyname>()" |
| 803 |
msgstr "B<gethostbyname>()" |
| 804 |
|
| 805 |
#. type: tbl table |
| 806 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 807 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 808 |
#, no-wrap |
| 809 |
msgid "Thread safety" |
| 810 |
msgstr "Thread safety" |
| 811 |
|
| 812 |
#. type: tbl table |
| 813 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 814 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 815 |
#, no-wrap |
| 816 |
msgid "" |
| 817 |
"MT-Unsafe race:hostbyname env\n" |
| 818 |
"locale" |
| 819 |
msgstr "" |
| 820 |
|
| 821 |
#. type: TQ |
| 822 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 823 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 824 |
#, no-wrap |
| 825 |
msgid "B<gethostbyaddr>()" |
| 826 |
msgstr "B<gethostbyaddr>()" |
| 827 |
|
| 828 |
#. type: tbl table |
| 829 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 830 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 831 |
#, no-wrap |
| 832 |
msgid "" |
| 833 |
"MT-Unsafe race:hostbyaddr env\n" |
| 834 |
"locale" |
| 835 |
msgstr "" |
| 836 |
|
| 837 |
#. type: tbl table |
| 838 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 839 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 840 |
#, fuzzy, no-wrap |
| 841 |
#| msgid "" |
| 842 |
#| "B<gethostbyaddr_r>(),\n" |
| 843 |
#| "B<gethostbyname_r>(),\n" |
| 844 |
#| "B<gethostbyname2_r>()" |
| 845 |
msgid "" |
| 846 |
"B<sethostent>(),\n" |
| 847 |
"B<endhostent>(),\n" |
| 848 |
"B<gethostent_r>()" |
| 849 |
msgstr "" |
| 850 |
"B<gethostbyaddr_r>(),\n" |
| 851 |
"B<gethostbyname_r>(),\n" |
| 852 |
"B<gethostbyname2_r>()" |
| 853 |
|
| 854 |
#. type: tbl table |
| 855 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 856 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 857 |
#, fuzzy, no-wrap |
| 858 |
#| msgid "MT-Safe env locale" |
| 859 |
msgid "" |
| 860 |
"MT-Unsafe race:hostent env\n" |
| 861 |
"locale" |
| 862 |
msgstr "MT-Safe env locale" |
| 863 |
|
| 864 |
#. type: tbl table |
| 865 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 866 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 867 |
#, fuzzy, no-wrap |
| 868 |
#| msgid "B<herror>(), B<hstrerror>():" |
| 869 |
msgid "" |
| 870 |
"B<herror>(),\n" |
| 871 |
"B<hstrerror>()" |
| 872 |
msgstr "B<herror>(), B<hstrerror>():" |
| 873 |
|
| 874 |
#. type: tbl table |
| 875 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 876 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 877 |
#, no-wrap |
| 878 |
msgid "MT-Safe" |
| 879 |
msgstr "MT-Safe" |
| 880 |
|
| 881 |
#. type: TQ |
| 882 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 883 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 884 |
#, no-wrap |
| 885 |
msgid "B<gethostent>()" |
| 886 |
msgstr "B<gethostent>()" |
| 887 |
|
| 888 |
#. type: tbl table |
| 889 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 890 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 891 |
#, no-wrap |
| 892 |
msgid "" |
| 893 |
"MT-Unsafe race:hostent\n" |
| 894 |
"race:hostentbuf env locale" |
| 895 |
msgstr "" |
| 896 |
|
| 897 |
#. type: tbl table |
| 898 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 899 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 900 |
#, no-wrap |
| 901 |
msgid "B<gethostbyname2>()" |
| 902 |
msgstr "B<gethostbyname2>()" |
| 903 |
|
| 904 |
#. type: tbl table |
| 905 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 906 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 907 |
#, fuzzy, no-wrap |
| 908 |
#| msgid "MT-Safe env locale" |
| 909 |
msgid "" |
| 910 |
"MT-Unsafe race:hostbyname2\n" |
| 911 |
"env locale" |
| 912 |
msgstr "MT-Safe env locale" |
| 913 |
|
| 914 |
#. type: tbl table |
| 915 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 916 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 917 |
#, no-wrap |
| 918 |
msgid "" |
| 919 |
"B<gethostbyaddr_r>(),\n" |
| 920 |
"B<gethostbyname_r>(),\n" |
| 921 |
"B<gethostbyname2_r>()" |
| 922 |
msgstr "" |
| 923 |
"B<gethostbyaddr_r>(),\n" |
| 924 |
"B<gethostbyname_r>(),\n" |
| 925 |
"B<gethostbyname2_r>()" |
| 926 |
|
| 927 |
#. type: tbl table |
| 928 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 929 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 930 |
#, no-wrap |
| 931 |
msgid "MT-Safe env locale" |
| 932 |
msgstr "MT-Safe env locale" |
| 933 |
|
| 934 |
#. type: Plain text |
| 935 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 936 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 937 |
msgid "" |
| 938 |
"In the above table, I<hostent> in I<race:hostent> signifies that if any of " |
| 939 |
"the functions B<sethostent>(), B<gethostent>(), B<gethostent_r>(), or B<\\" |
| 940 |
"%endhostent>() are used in parallel in different threads of a program, then " |
| 941 |
"data races could occur." |
| 942 |
msgstr "" |
| 943 |
|
| 944 |
#. type: SH |
| 945 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 946 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 947 |
#, no-wrap |
| 948 |
msgid "STANDARDS" |
| 949 |
msgstr "PADRÕES" |
| 950 |
|
| 951 |
#. type: TP |
| 952 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 953 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 954 |
#, fuzzy, no-wrap |
| 955 |
#| msgid "B<sethostent>(),\n" |
| 956 |
msgid "B<sethostent>()" |
| 957 |
msgstr "B<sethostent>(),\n" |
| 958 |
|
| 959 |
#. type: TQ |
| 960 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 961 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 962 |
#, fuzzy, no-wrap |
| 963 |
#| msgid "B<endhostent>(),\n" |
| 964 |
msgid "B<endhostent>()" |
| 965 |
msgstr "B<endhostent>(),\n" |
| 966 |
|
| 967 |
#. type: Plain text |
| 968 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 969 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 970 |
msgid "POSIX.1-2008." |
| 971 |
msgstr "POSIX.1-2008." |
| 972 |
|
| 973 |
#. type: TP |
| 974 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 975 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 976 |
#, no-wrap |
| 977 |
msgid "B<gethostent_r>()" |
| 978 |
msgstr "B<gethostent_r>()" |
| 979 |
|
| 980 |
#. type: Plain text |
| 981 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 982 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 983 |
msgid "GNU." |
| 984 |
msgstr "GNU." |
| 985 |
|
| 986 |
#. type: TP |
| 987 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 988 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 989 |
#, fuzzy, no-wrap |
| 990 |
#| msgid "B<ethers>" |
| 991 |
msgid "Others:" |
| 992 |
msgstr "B<ethers>" |
| 993 |
|
| 994 |
#. type: Plain text |
| 995 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 996 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 997 |
msgid "None." |
| 998 |
msgstr "" |
| 999 |
|
| 1000 |
#. type: SH |
| 1001 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1002 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1003 |
#, no-wrap |
| 1004 |
msgid "HISTORY" |
| 1005 |
msgstr "HISTÓRICO" |
| 1006 |
|
| 1007 |
#. type: Plain text |
| 1008 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1009 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1010 |
msgid "POSIX.1-2001." |
| 1011 |
msgstr "POSIX.1-2001." |
| 1012 |
|
| 1013 |
#. type: TQ |
| 1014 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1015 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1016 |
#, fuzzy, no-wrap |
| 1017 |
#| msgid "B<h_errno>:" |
| 1018 |
msgid "I<h_errno>" |
| 1019 |
msgstr "B<h_errno>:" |
| 1020 |
|
| 1021 |
#. type: Plain text |
| 1022 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1023 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1024 |
msgid "" |
| 1025 |
"Marked obsolescent in POSIX.1-2001. Removed in POSIX.1-2008, recommending " |
| 1026 |
"the use of B<getaddrinfo>(3) and B<getnameinfo>(3) instead." |
| 1027 |
msgstr "" |
| 1028 |
|
| 1029 |
#. type: SH |
| 1030 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1031 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1032 |
#, no-wrap |
| 1033 |
msgid "NOTES" |
| 1034 |
msgstr "NOTAS" |
| 1035 |
|
| 1036 |
#. type: Plain text |
| 1037 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1038 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1039 |
msgid "" |
| 1040 |
"The functions B<gethostbyname>() and B<gethostbyaddr>() may return " |
| 1041 |
"pointers to static data, which may be overwritten by later calls. Copying " |
| 1042 |
"the I<struct hostent> does not suffice, since it contains pointers; a deep " |
| 1043 |
"copy is required." |
| 1044 |
msgstr "" |
| 1045 |
"As funções B<gethostbyname>() e B<gethostbyaddr>() podem devolver ponteiros " |
| 1046 |
"para dados estáticos, que podem ser sobre escritos por outras chamadas. " |
| 1047 |
"Copiar o I<struct hostent> não é suficente, desde que ele contenha " |
| 1048 |
"ponteiros; um copia profunda é requerida." |
| 1049 |
|
| 1050 |
#. type: Plain text |
| 1051 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1052 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1053 |
#, fuzzy |
| 1054 |
#| msgid "" |
| 1055 |
#| "The SUS-v2 standard is buggy and declares the I<len> parameter to be of " |
| 1056 |
#| "type I<size_t>. (That is wrong, because it has to be I<int>, and " |
| 1057 |
#| "I<size_t> is not. The Austin draft makes it I<socklen_t>, which is OK.)" |
| 1058 |
msgid "" |
| 1059 |
"In the original BSD implementation the I<size> argument of " |
| 1060 |
"B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares " |
| 1061 |
"the I<size> argument of B<gethostbyaddr>() to be of type I<size_t>. (That " |
| 1062 |
"is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 " |
| 1063 |
"makes it I<socklen_t>, which is OK.) See also B<accept>(2)." |
| 1064 |
msgstr "" |
| 1065 |
"O padrão SUS-v2 está com erro e declara que o parâmetro I<len> é do tipo " |
| 1066 |
"I<size_t>. (Isto está errado, porque ele tem que ser I<int>, e I<size_t> não " |
| 1067 |
"é. A versão preliminar de Austin diz que deve ser I<socklen_t>, o que é OK.)" |
| 1068 |
|
| 1069 |
#. type: Plain text |
| 1070 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1071 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1072 |
msgid "" |
| 1073 |
"The BSD prototype for B<gethostbyaddr>() uses I<const char\\ *> for the " |
| 1074 |
"first argument." |
| 1075 |
msgstr "" |
| 1076 |
|
| 1077 |
#. type: SS |
| 1078 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1079 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1080 |
#, no-wrap |
| 1081 |
msgid "System V/POSIX extension" |
| 1082 |
msgstr "" |
| 1083 |
|
| 1084 |
#. e.g., Linux, FreeBSD, UnixWare, HP-UX |
| 1085 |
#. e.g., FreeBSD, AIX |
| 1086 |
#. type: Plain text |
| 1087 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1088 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1089 |
msgid "" |
| 1090 |
"POSIX requires the B<gethostent>() call, which should return the next entry " |
| 1091 |
"in the host data base. When using DNS/BIND this does not make much sense, " |
| 1092 |
"but it may be reasonable if the host data base is a file that can be read " |
| 1093 |
"line by line. On many systems, a routine of this name reads from the file " |
| 1094 |
"I</etc/hosts>. It may be available only when the library was built without " |
| 1095 |
"DNS support. The glibc version will ignore ipv6 entries. This function is " |
| 1096 |
"not reentrant, and glibc adds a reentrant version B<gethostent_r>()." |
| 1097 |
msgstr "" |
| 1098 |
|
| 1099 |
#. type: SS |
| 1100 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1101 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1102 |
#, no-wrap |
| 1103 |
msgid "GNU extensions" |
| 1104 |
msgstr "" |
| 1105 |
|
| 1106 |
#. type: Plain text |
| 1107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1109 |
#, fuzzy |
| 1110 |
#| msgid "" |
| 1111 |
#| "that works like B<gethostbyname()>, but permits to specify the address " |
| 1112 |
#| "family to which the address must belong." |
| 1113 |
msgid "" |
| 1114 |
"glibc2 also has a B<gethostbyname2>() that works like B<gethostbyname>(), " |
| 1115 |
"but permits to specify the address family to which the address must belong." |
| 1116 |
msgstr "" |
| 1117 |
"que funciona como B<gethostbyname()>, mas permite especificar uma família de " |
| 1118 |
"endereços ao qual o endereço deve pertencer." |
| 1119 |
|
| 1120 |
#. type: Plain text |
| 1121 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 1122 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1123 |
msgid "" |
| 1124 |
"glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 1125 |
"B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a " |
| 1126 |
"I<hostent> structure I<ret> which will be filled in on success, and a " |
| 1127 |
"temporary work buffer I<buf> of size I<bufsize>. After the call, I<result> " |
| 1128 |
"will point to the result on success. In case of an error or if no entry is " |
| 1129 |
"found I<result> will be NULL. The functions return 0 on success and a " |
| 1130 |
"nonzero error number on failure. In addition to the errors returned by the " |
| 1131 |
"nonreentrant versions of these functions, if I<buf> is too small, the " |
| 1132 |
"functions will return B<ERANGE>, and the call should be retried with a " |
| 1133 |
"larger buffer. The global variable I<h_errno> is not modified, but the " |
| 1134 |
"address of a variable in which to store error numbers is passed in " |
| 1135 |
"I<h_errnop>." |
| 1136 |
msgstr "" |
| 1137 |
|
| 1138 |
#. type: SH |
| 1139 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1140 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1141 |
#, no-wrap |
| 1142 |
msgid "BUGS" |
| 1143 |
msgstr "BUGS" |
| 1144 |
|
| 1145 |
#. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482973 |
| 1146 |
#. type: Plain text |
| 1147 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1148 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1149 |
msgid "" |
| 1150 |
"B<gethostbyname>() does not recognize components of a dotted IPv4 address " |
| 1151 |
"string that are expressed in hexadecimal." |
| 1152 |
msgstr "" |
| 1153 |
|
| 1154 |
#. type: SH |
| 1155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1157 |
#, no-wrap |
| 1158 |
msgid "SEE ALSO" |
| 1159 |
msgstr "VEJA TAMBÉM" |
| 1160 |
|
| 1161 |
#. .BR getipnodebyaddr (3), |
| 1162 |
#. .BR getipnodebyname (3), |
| 1163 |
#. type: Plain text |
| 1164 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 1165 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 1166 |
msgid "" |
| 1167 |
"B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), " |
| 1168 |
"B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), " |
| 1169 |
"B<hostname>(7), B<named>(8)" |
| 1170 |
msgstr "" |
| 1171 |
"B<getaddrinfo>(3), B<getnameinfo>(3), B<inet>(3), B<inet_ntop>(3), " |
| 1172 |
"B<inet_pton>(3), B<resolver>(3), B<hosts>(5), B<nsswitch.conf>(5), " |
| 1173 |
"B<hostname>(7), B<named>(8)" |
| 1174 |
|
| 1175 |
#. type: TH |
| 1176 |
#: debian-trixie |
| 1177 |
#, no-wrap |
| 1178 |
msgid "2024-05-02" |
| 1179 |
msgstr "2 maio 2024" |
| 1180 |
|
| 1181 |
#. type: TH |
| 1182 |
#: debian-trixie |
| 1183 |
#, no-wrap |
| 1184 |
msgid "Linux man-pages 6.9.1" |
| 1185 |
msgstr "Linux man-pages 6.9.1" |
| 1186 |
|
| 1187 |
#. type: Plain text |
| 1188 |
#: debian-trixie |
| 1189 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 1190 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 1191 |
|
| 1192 |
#. type: Plain text |
| 1193 |
#: debian-trixie |
| 1194 |
#, fuzzy, no-wrap |
| 1195 |
#| msgid "" |
| 1196 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1197 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1198 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1199 |
msgid "" |
| 1200 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 1201 |
"B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<len>B<],>\n" |
| 1202 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1203 |
msgstr "" |
| 1204 |
"B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1205 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1206 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1207 |
|
| 1208 |
#. type: Plain text |
| 1209 |
#: debian-trixie |
| 1210 |
#, fuzzy, no-wrap |
| 1211 |
#| msgid "" |
| 1212 |
#| "B<int gethostent_r(>\n" |
| 1213 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1214 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1215 |
msgid "" |
| 1216 |
"B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n" |
| 1217 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1218 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1219 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1220 |
msgstr "" |
| 1221 |
"B<int gethostent_r(>\n" |
| 1222 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1223 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1224 |
|
| 1225 |
#. type: Plain text |
| 1226 |
#: debian-trixie |
| 1227 |
#, no-wrap |
| 1228 |
msgid "" |
| 1229 |
"B<[[deprecated]]>\n" |
| 1230 |
"B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<len>B<], socklen_t >I<len>B<,>\n" |
| 1231 |
"B< int >I<type>B<,>\n" |
| 1232 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1233 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1234 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1235 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1236 |
"B<[[deprecated]]>\n" |
| 1237 |
"B<int gethostbyname_r(const char *restrict >I<name>B<,>\n" |
| 1238 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1239 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1240 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1241 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1242 |
"B<[[deprecated]]>\n" |
| 1243 |
"B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n" |
| 1244 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1245 |
"B< char >I<buf>B<[restrict .>I<buflen>B<], size_t >I<buflen>B<,>\n" |
| 1246 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1247 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1248 |
msgstr "" |
| 1249 |
|
| 1250 |
#. type: Plain text |
| 1251 |
#: debian-trixie |
| 1252 |
#, fuzzy |
| 1253 |
#| msgid "" |
| 1254 |
#| "The B<gethostbyaddr()> function returns a structure of type I<hostent> " |
| 1255 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 1256 |
#| "I<type>. The only valid address type is currently B<AF_INET>." |
| 1257 |
msgid "" |
| 1258 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 1259 |
"the given host address I<addr> of length I<len> and address type I<type>. " |
| 1260 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 1261 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 1262 |
"type depending on the address type, for example a I<struct in_addr *> " |
| 1263 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 1264 |
"B<AF_INET>." |
| 1265 |
msgstr "" |
| 1266 |
"A função B<gethostbyaddr()> retorna uma estrutura do tipo I<hostent> para o " |
| 1267 |
"endereço de 'host' I<addr> dado de tamanho I<len> e tipo de endereço " |
| 1268 |
"I<type>. O único tipo de endereço válido no momento é B<AF_INET>." |
| 1269 |
|
| 1270 |
#. type: Plain text |
| 1271 |
#: debian-trixie fedora-44 fedora-rawhide |
| 1272 |
msgid "" |
| 1273 |
"The (obsolete) B<hstrerror>() function takes an error number (typically " |
| 1274 |
"I<h_errno>) and returns the corresponding message string." |
| 1275 |
msgstr "" |
| 1276 |
"A função (obsoleta) B<hstrerror>() toma um número de erro (tipicamente " |
| 1277 |
"I<h_errno>) e retorna a string da mensagem correspondente." |
| 1278 |
|
| 1279 |
#. type: Plain text |
| 1280 |
#: debian-trixie |
| 1281 |
#, fuzzy, no-wrap |
| 1282 |
#| msgid "" |
| 1283 |
#| "struct hostent {\n" |
| 1284 |
#| "\tchar\t*h_name;\t\t/* official name of host */\n" |
| 1285 |
#| "\tchar\t**h_aliases;\t\t/* alias list */\n" |
| 1286 |
#| "\tint\th_addrtype;\t\t/* host address type */\n" |
| 1287 |
#| "\tint\th_length;\t\t/* length of address */\n" |
| 1288 |
#| "\tchar\t**h_addr_list;\t\t/* list of addresses */\n" |
| 1289 |
#| "}\n" |
| 1290 |
#| "#define h_addr\th_addr_list[0]\t\t/* for backward compatibility */\n" |
| 1291 |
msgid "" |
| 1292 |
"struct hostent {\n" |
| 1293 |
" char *h_name; /* official name of host */\n" |
| 1294 |
" char **h_aliases; /* alias list */\n" |
| 1295 |
" int h_addrtype; /* host address type */\n" |
| 1296 |
" int h_length; /* length of address */\n" |
| 1297 |
" char **h_addr_list; /* list of addresses */\n" |
| 1298 |
"}\n" |
| 1299 |
"#define h_addr h_addr_list[0] /* for backward compatibility */\n" |
| 1300 |
msgstr "" |
| 1301 |
"struct hostent {\n" |
| 1302 |
"\tchar\t*h_name;\t\t/* nome oficial do 'host' */\n" |
| 1303 |
"\tchar\t**h_aliases;\t\t/* lista de aliases */\n" |
| 1304 |
"\tint\th_addrtype;\t\t/* tipo de endereço da 'host' */\n" |
| 1305 |
"\tint\th_length;\t\t/* tamanho do endereço */\n" |
| 1306 |
"\tchar\t**h_addr_list;\t\t/* lista de endereços */\n" |
| 1307 |
"}\n" |
| 1308 |
"#define h_addr\th_addr_list[0]\t\t/* para compatibilidade */\n" |
| 1309 |
|
| 1310 |
#. type: Plain text |
| 1311 |
#: debian-trixie |
| 1312 |
msgid "The length of the address in bytes." |
| 1313 |
msgstr "O tamanho do endereço em bytes." |
| 1314 |
|
| 1315 |
#. type: Plain text |
| 1316 |
#: debian-trixie |
| 1317 |
#, fuzzy |
| 1318 |
#| msgid "" |
| 1319 |
#| "The SUS-v2 standard is buggy and declares the I<len> parameter to be of " |
| 1320 |
#| "type I<size_t>. (That is wrong, because it has to be I<int>, and " |
| 1321 |
#| "I<size_t> is not. The Austin draft makes it I<socklen_t>, which is OK.)" |
| 1322 |
msgid "" |
| 1323 |
"In the original BSD implementation the I<len> argument of " |
| 1324 |
"B<gethostbyname>() was an I<int>. The SUSv2 standard is buggy and declares " |
| 1325 |
"the I<len> argument of B<gethostbyaddr>() to be of type I<size_t>. (That " |
| 1326 |
"is wrong, because it has to be I<int>, and I<size_t> is not. POSIX.1-2001 " |
| 1327 |
"makes it I<socklen_t>, which is OK.) See also B<accept>(2)." |
| 1328 |
msgstr "" |
| 1329 |
"O padrão SUS-v2 está com erro e declara que o parâmetro I<len> é do tipo " |
| 1330 |
"I<size_t>. (Isto está errado, porque ele tem que ser I<int>, e I<size_t> não " |
| 1331 |
"é. A versão preliminar de Austin diz que deve ser I<socklen_t>, o que é OK.)" |
| 1332 |
|
| 1333 |
#. type: Plain text |
| 1334 |
#: debian-trixie |
| 1335 |
msgid "" |
| 1336 |
"glibc2 also has reentrant versions B<gethostent_r>(), B<gethostbyaddr_r>(), " |
| 1337 |
"B<gethostbyname_r>(), and B<gethostbyname2_r>(). The caller supplies a " |
| 1338 |
"I<hostent> structure I<ret> which will be filled in on success, and a " |
| 1339 |
"temporary work buffer I<buf> of size I<buflen>. After the call, I<result> " |
| 1340 |
"will point to the result on success. In case of an error or if no entry is " |
| 1341 |
"found I<result> will be NULL. The functions return 0 on success and a " |
| 1342 |
"nonzero error number on failure. In addition to the errors returned by the " |
| 1343 |
"nonreentrant versions of these functions, if I<buf> is too small, the " |
| 1344 |
"functions will return B<ERANGE>, and the call should be retried with a " |
| 1345 |
"larger buffer. The global variable I<h_errno> is not modified, but the " |
| 1346 |
"address of a variable in which to store error numbers is passed in " |
| 1347 |
"I<h_errnop>." |
| 1348 |
msgstr "" |
| 1349 |
|
| 1350 |
#. type: TH |
| 1351 |
#: fedora-44 fedora-rawhide |
| 1352 |
#, no-wrap |
| 1353 |
msgid "2024-12-24" |
| 1354 |
msgstr "24 dezembro 2024" |
| 1355 |
|
| 1356 |
#. type: TH |
| 1357 |
#: fedora-44 fedora-rawhide |
| 1358 |
#, no-wrap |
| 1359 |
msgid "Linux man-pages 6.13" |
| 1360 |
msgstr "Linux man-pages 6.13" |
| 1361 |
|
| 1362 |
#. type: Plain text |
| 1363 |
#: fedora-44 fedora-rawhide |
| 1364 |
#, fuzzy, no-wrap |
| 1365 |
#| msgid "" |
| 1366 |
#| "B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1367 |
#| "B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1368 |
#| "B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1369 |
msgid "" |
| 1370 |
"B<[[deprecated]] struct hostent *gethostbyname(const char *>I<name>B<);>\n" |
| 1371 |
"B<[[deprecated]] struct hostent *gethostbyaddr(const void >I<addr>B<[.>I<size>B<],>\n" |
| 1372 |
"B< socklen_t >I<size>B<, int >I<type>B<);>\n" |
| 1373 |
msgstr "" |
| 1374 |
"B<#include E<lt>sys/socket.hE<gt>> /* for AF_INET */\n" |
| 1375 |
"B<struct hostent *gethostbyaddr(const void *>I<addr>B<,>\n" |
| 1376 |
"B< socklen_t >I<len>B<, int >I<type>B<);>\n" |
| 1377 |
|
| 1378 |
#. type: Plain text |
| 1379 |
#: fedora-44 fedora-rawhide |
| 1380 |
#, fuzzy, no-wrap |
| 1381 |
#| msgid "" |
| 1382 |
#| "B<int gethostent_r(>\n" |
| 1383 |
#| "B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1384 |
#| "B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1385 |
msgid "" |
| 1386 |
"B<int gethostent_r(struct hostent *restrict >I<ret>B<,>\n" |
| 1387 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1388 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1389 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1390 |
msgstr "" |
| 1391 |
"B<int gethostent_r(>\n" |
| 1392 |
"B< struct hostent *>I<ret>B<, char *>I<buf>B<, size_t >I<buflen>B<,>\n" |
| 1393 |
"B< struct hostent **>I<result>B<, int *>I<h_errnop>B<);>\n" |
| 1394 |
|
| 1395 |
#. type: Plain text |
| 1396 |
#: fedora-44 fedora-rawhide |
| 1397 |
#, no-wrap |
| 1398 |
msgid "" |
| 1399 |
"B<[[deprecated]]>\n" |
| 1400 |
"B<int gethostbyaddr_r(const void >I<addr>B<[restrict .>I<size>B<], socklen_t >I<size>B<,>\n" |
| 1401 |
"B< int >I<type>B<,>\n" |
| 1402 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1403 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1404 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1405 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1406 |
"B<[[deprecated]]>\n" |
| 1407 |
"B<int gethostbyname_r(const char *restrict >I<name>B<,>\n" |
| 1408 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1409 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1410 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1411 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1412 |
"B<[[deprecated]]>\n" |
| 1413 |
"B<int gethostbyname2_r(const char *restrict >I<name>B<, int >I<af,>\n" |
| 1414 |
"B< struct hostent *restrict >I<ret>B<,>\n" |
| 1415 |
"B< char >I<buf>B<[restrict .>I<bufsize>B<], size_t >I<bufsize>B<,>\n" |
| 1416 |
"B< struct hostent **restrict >I<result>B<,>\n" |
| 1417 |
"B< int *restrict >I<h_errnop>B<);>\n" |
| 1418 |
msgstr "" |
| 1419 |
|
| 1420 |
#. type: Plain text |
| 1421 |
#: fedora-44 fedora-rawhide |
| 1422 |
#, fuzzy |
| 1423 |
#| msgid "" |
| 1424 |
#| "The B<gethostbyaddr()> function returns a structure of type I<hostent> " |
| 1425 |
#| "for the given host address I<addr> of length I<len> and address type " |
| 1426 |
#| "I<type>. The only valid address type is currently B<AF_INET>." |
| 1427 |
msgid "" |
| 1428 |
"The B<gethostbyaddr>() function returns a structure of type I<hostent> for " |
| 1429 |
"the given host address I<addr> of size I<len> and address type I<type>. " |
| 1430 |
"Valid address types are B<AF_INET> and B<AF_INET6> (defined in I<E<lt>sys/" |
| 1431 |
"socket.hE<gt>>). The host address argument is a pointer to a struct of a " |
| 1432 |
"type depending on the address type, for example a I<struct in_addr *> " |
| 1433 |
"(probably obtained via a call to B<inet_addr>(3)) for address type " |
| 1434 |
"B<AF_INET>." |
| 1435 |
msgstr "" |
| 1436 |
"A função B<gethostbyaddr()> retorna uma estrutura do tipo I<hostent> para o " |
| 1437 |
"endereço de 'host' I<addr> dado de tamanho I<len> e tipo de endereço " |
| 1438 |
"I<type>. O único tipo de endereço válido no momento é B<AF_INET>." |
| 1439 |
|
| 1440 |
#. type: TH |
| 1441 |
#: mageia-cauldron |
| 1442 |
#, no-wrap |
| 1443 |
msgid "Linux man-pages 6.17" |
| 1444 |
msgstr "Linux man-pages 6.17" |
| 1445 |
|
| 1446 |
#. type: TH |
| 1447 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 1448 |
#, no-wrap |
| 1449 |
msgid "Linux man-pages (unreleased)" |
| 1450 |
msgstr "Linux man-pages (não lançado)" |