| 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 |
# André Luiz Fassone <[email protected]>, 2000. |
| 5 |
# Ricardo C.O.Freitas <[email protected]>, 2000. |
| 6 |
# Rafael Fontenelle <[email protected]>, 2020-2021. |
| 7 |
msgid "" |
| 8 |
msgstr "" |
| 9 |
"Project-Id-Version: manpages-l10n\n" |
| 10 |
"POT-Creation-Date: 2026-06-05 06:25+0200\n" |
| 11 |
"PO-Revision-Date: 2021-06-08 01:56-0300\n" |
| 12 |
"Last-Translator: Rafael Fontenelle <[email protected]>\n" |
| 13 |
"Language-Team: Brazilian Portuguese <debian-l10n-" |
| 14 |
"[email protected]>\n" |
| 15 |
"Language: pt_BR\n" |
| 16 |
"MIME-Version: 1.0\n" |
| 17 |
"Content-Type: text/plain; charset=UTF-8\n" |
| 18 |
"Content-Transfer-Encoding: 8bit\n" |
| 19 |
"Plural-Forms: nplurals=2; plural=(n > 1)\n" |
| 20 |
"X-Generator: Gtranslator 40.0\n" |
| 21 |
|
| 22 |
#. type: TH |
| 23 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 24 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 25 |
#, no-wrap |
| 26 |
msgid "gethostname" |
| 27 |
msgstr "gethostname" |
| 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 "gethostname, sethostname - get/set hostname" |
| 54 |
msgstr "gethostname, sethostname - obtém/define o nome da máquina" |
| 55 |
|
| 56 |
#. type: SH |
| 57 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 58 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 59 |
#, no-wrap |
| 60 |
msgid "LIBRARY" |
| 61 |
msgstr "BIBLIOTECA" |
| 62 |
|
| 63 |
#. type: Plain text |
| 64 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 65 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 66 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 67 |
msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)" |
| 68 |
|
| 69 |
#. type: SH |
| 70 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 71 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 72 |
#, no-wrap |
| 73 |
msgid "SYNOPSIS" |
| 74 |
msgstr "SINOPSE" |
| 75 |
|
| 76 |
#. type: Plain text |
| 77 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 78 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 79 |
#, no-wrap |
| 80 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 81 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 82 |
|
| 83 |
#. type: Plain text |
| 84 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 85 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 86 |
#, fuzzy, no-wrap |
| 87 |
#| msgid "" |
| 88 |
#| "B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 89 |
#| "B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 90 |
msgid "" |
| 91 |
"B<int gethostname(char *>I<name>B<, size_t >I<size>B<);>\n" |
| 92 |
"B<int sethostname(const char *>I<name>B<, size_t >I<size>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<int gethostname(char *>I<nome>B<, size_t >I<comp>B<);>\n" |
| 95 |
"B<int sethostname(const char *>I<nome>B<, size_t >I<comp>B<);>\n" |
| 96 |
|
| 97 |
#. type: Plain text |
| 98 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 99 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 100 |
msgid "" |
| 101 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 102 |
msgstr "" |
| 103 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 104 |
"B<feature_test_macros>(7)):" |
| 105 |
|
| 106 |
#. type: Plain text |
| 107 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 108 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 109 |
msgid "B<gethostname>():" |
| 110 |
msgstr "B<gethostname>():" |
| 111 |
|
| 112 |
#. The above is something of a simplification |
| 113 |
#. also before glibc 2.3 there was a bit churn |
| 114 |
#. type: Plain text |
| 115 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 116 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 117 |
#, fuzzy, no-wrap |
| 118 |
#| msgid "" |
| 119 |
#| " _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 120 |
#| " || /* Glibc 2.19 and earlier */ _BSD_SOURCE\n" |
| 121 |
msgid "" |
| 122 |
" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 123 |
" || /* glibc 2.19 and earlier */ _BSD_SOURCE\n" |
| 124 |
msgstr "" |
| 125 |
" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 126 |
" || /* Glibc 2.19 e anteriores */ _BSD_SOURCE\n" |
| 127 |
|
| 128 |
#. type: Plain text |
| 129 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 130 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 131 |
msgid "B<sethostname>():" |
| 132 |
msgstr "B<sethostname>():" |
| 133 |
|
| 134 |
#. commit 266865c0e7b79d4196e2cc393693463f03c90bd8 |
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
#, no-wrap |
| 139 |
msgid "" |
| 140 |
" Since glibc 2.21:\n" |
| 141 |
" _DEFAULT_SOURCE\n" |
| 142 |
" In glibc 2.19 and 2.20:\n" |
| 143 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 144 |
" Up to and including glibc 2.19:\n" |
| 145 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 146 |
msgstr "" |
| 147 |
" Desde o glibc 2.21:\n" |
| 148 |
" _DEFAULT_SOURCE\n" |
| 149 |
" No glibc 2.19 e 2.20:\n" |
| 150 |
" _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 151 |
" Até e incluindo o glibc 2.19:\n" |
| 152 |
" _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE E<lt> 500)\n" |
| 153 |
|
| 154 |
#. type: SH |
| 155 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 156 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 157 |
#, no-wrap |
| 158 |
msgid "DESCRIPTION" |
| 159 |
msgstr "DESCRIÇÃO" |
| 160 |
|
| 161 |
#. type: Plain text |
| 162 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 163 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 164 |
msgid "" |
| 165 |
"These system calls are used to access or to change the system hostname. " |
| 166 |
"More precisely, they operate on the hostname associated with the calling " |
| 167 |
"process's UTS namespace." |
| 168 |
msgstr "" |
| 169 |
"Estas chamadas de sistema são usadas para acessar ou alterar o nome da " |
| 170 |
"máquina do processador atual. Mais precisamente, elas operam no nome de " |
| 171 |
"máquina associado com o espaço de nomes de UTS do processo chamador." |
| 172 |
|
| 173 |
#. type: Plain text |
| 174 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 175 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 176 |
#, fuzzy |
| 177 |
#| msgid "" |
| 178 |
#| "B<sethostname>() sets the hostname to the value given in the character " |
| 179 |
#| "array I<name>. The I<len> argument specifies the number of bytes in " |
| 180 |
#| "I<name>. (Thus, I<name> does not require a terminating null byte.)" |
| 181 |
msgid "" |
| 182 |
"B<sethostname>() sets the hostname to the value given in the character " |
| 183 |
"array I<name>. The I<size> argument specifies the number of bytes in " |
| 184 |
"I<name>. (Thus, I<name> does not require a terminating null byte.)" |
| 185 |
msgstr "" |
| 186 |
"B<sethostname>() define o nome de máquina com o valor fornecido na matriz de " |
| 187 |
"caracteres I<name>. O argumento I<len> especifica o número de bytes em " |
| 188 |
"I<name>. (Portanto, I<name> não requer um byte nulo final.)" |
| 189 |
|
| 190 |
#. type: Plain text |
| 191 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 192 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 193 |
#, fuzzy |
| 194 |
#| msgid "" |
| 195 |
#| "B<gethostname>() returns the null-terminated hostname in the character " |
| 196 |
#| "array I<name>, which has a length of I<len> bytes. If the null-" |
| 197 |
#| "terminated hostname is too large to fit, then the name is truncated, and " |
| 198 |
#| "no error is returned (but see NOTES below). POSIX.1 says that if such " |
| 199 |
#| "truncation occurs, then it is unspecified whether the returned buffer " |
| 200 |
#| "includes a terminating null byte." |
| 201 |
msgid "" |
| 202 |
"B<gethostname>() returns the null-terminated hostname in the character " |
| 203 |
"array I<name>, which has a size of I<size> bytes. If the null-terminated " |
| 204 |
"hostname is too large to fit, then the name is truncated, and no error is " |
| 205 |
"returned (but see VERSIONS below). POSIX.1 says that if such truncation " |
| 206 |
"occurs, then it is unspecified whether the returned buffer includes a " |
| 207 |
"terminating null byte." |
| 208 |
msgstr "" |
| 209 |
"B<gethostname>() retorna o nome da máquina terminado em nulo no vetor de " |
| 210 |
"caracteres I<name>, que possui um comprimento de I<len> bytes. Se o nome da " |
| 211 |
"máquina terminado em nulo for muito grande para caber, o nome será truncado " |
| 212 |
"e nenhum erro será retornado (mas consulte as NOTAS abaixo). O POSIX.1 diz " |
| 213 |
"que, se esse truncamento ocorrer, não será especificado se o buffer " |
| 214 |
"retornado inclui um byte nulo final." |
| 215 |
|
| 216 |
#. type: SH |
| 217 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 218 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 219 |
#, no-wrap |
| 220 |
msgid "RETURN VALUE" |
| 221 |
msgstr "VALOR DE RETORNO" |
| 222 |
|
| 223 |
#. type: Plain text |
| 224 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 225 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 226 |
msgid "" |
| 227 |
"On success, zero is returned. On error, -1 is returned, and I<errno> is set " |
| 228 |
"to indicate the error." |
| 229 |
msgstr "" |
| 230 |
"Em caso de sucesso, zero é retornado. Em caso de erro, -1 é retornado, e " |
| 231 |
"I<errno> é definido para indicar o erro." |
| 232 |
|
| 233 |
#. type: SH |
| 234 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 235 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 236 |
#, no-wrap |
| 237 |
msgid "ERRORS" |
| 238 |
msgstr "ERROS" |
| 239 |
|
| 240 |
#. type: TP |
| 241 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 242 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 243 |
#, no-wrap |
| 244 |
msgid "B<EFAULT>" |
| 245 |
msgstr "B<EFAULT>" |
| 246 |
|
| 247 |
#. type: Plain text |
| 248 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 249 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 250 |
msgid "I<name> is an invalid address." |
| 251 |
msgstr "I<name> é um endereço inválido." |
| 252 |
|
| 253 |
#. type: TP |
| 254 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 255 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 256 |
#, no-wrap |
| 257 |
msgid "B<EINVAL>" |
| 258 |
msgstr "B<EINVAL>" |
| 259 |
|
| 260 |
#. Can't occur for gethostbyname() wrapper, since 'size' has an |
| 261 |
#. unsigned type; can occur for the underlying system call. |
| 262 |
#. type: Plain text |
| 263 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 264 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 265 |
#, fuzzy |
| 266 |
#| msgid "" |
| 267 |
#| "I<len> is negative or, for B<sethostname>(), I<len> is larger than the " |
| 268 |
#| "maximum allowed size." |
| 269 |
msgid "" |
| 270 |
"I<size> is negative or, for B<sethostname>(), I<size> is larger than the " |
| 271 |
"maximum allowed size." |
| 272 |
msgstr "" |
| 273 |
"I<len> é negativo ou, para B<sethostname>(), I<len> é maior que o tamanho " |
| 274 |
"permitido." |
| 275 |
|
| 276 |
#. type: TP |
| 277 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 278 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 279 |
#, no-wrap |
| 280 |
msgid "B<ENAMETOOLONG>" |
| 281 |
msgstr "B<ENAMETOOLONG>" |
| 282 |
|
| 283 |
#. type: Plain text |
| 284 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 285 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 286 |
#, fuzzy |
| 287 |
#| msgid "" |
| 288 |
#| "(glibc B<gethostname>()) I<len> is smaller than the actual size. " |
| 289 |
#| "(Before version 2.1, glibc uses B<EINVAL> for this case.)" |
| 290 |
msgid "" |
| 291 |
"(glibc B<gethostname>()) I<size> is smaller than the actual size. (Before " |
| 292 |
"glibc 2.1, glibc uses B<EINVAL> for this case.)" |
| 293 |
msgstr "" |
| 294 |
"(glibc B<gethostname>()) I<len> é menor que o tamanho real. (Antes da " |
| 295 |
"versão 2.1, glibc usa B<EINVAL> para este caso.)" |
| 296 |
|
| 297 |
#. type: TP |
| 298 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 299 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 300 |
#, no-wrap |
| 301 |
msgid "B<EPERM>" |
| 302 |
msgstr "B<EPERM>" |
| 303 |
|
| 304 |
#. type: Plain text |
| 305 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 306 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 307 |
msgid "" |
| 308 |
"For B<sethostname>(), the caller did not have the B<CAP_SYS_ADMIN> " |
| 309 |
"capability in the user namespace associated with its UTS namespace (see " |
| 310 |
"B<namespaces>(7))." |
| 311 |
msgstr "" |
| 312 |
"Para B<sethostname>(), o chamador não tinha a capacidade B<CAP_SYS_ADMIN> no " |
| 313 |
"espaço de nomes de usuário associado ao seu espaço de nomes UTS (consulte " |
| 314 |
"B<namespaces>(7))." |
| 315 |
|
| 316 |
#. type: SH |
| 317 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 318 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 319 |
#, no-wrap |
| 320 |
msgid "VERSIONS" |
| 321 |
msgstr "VERSÕES" |
| 322 |
|
| 323 |
#. type: Plain text |
| 324 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 325 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 326 |
msgid "" |
| 327 |
"SUSv2 guarantees that \"Host names are limited to 255 bytes\". POSIX.1 " |
| 328 |
"guarantees that \"Host names (not including the terminating null byte) are " |
| 329 |
"limited to B<HOST_NAME_MAX> bytes\". On Linux, B<HOST_NAME_MAX> is defined " |
| 330 |
"with the value 64, which has been the limit since Linux 1.0 (earlier kernels " |
| 331 |
"imposed a limit of 8 bytes)." |
| 332 |
msgstr "" |
| 333 |
"O SUSv2 garante que \"Os nomes de máquina estão limitados a 255 bytes\". O " |
| 334 |
"POSIX.1 garante que \"Os nomes de máquina (não incluindo o byte nulo final) " |
| 335 |
"são limitados a B<HOST_NAME_MAX> bytes\". No Linux, B<HOST_NAME_MAX> é " |
| 336 |
"definido com o valor 64, que tem sido o limite desde o Linux 1.0 (os kernels " |
| 337 |
"anteriores impuseram um limite de 8 bytes)." |
| 338 |
|
| 339 |
#. type: SS |
| 340 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 341 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 342 |
#, no-wrap |
| 343 |
msgid "C library/kernel differences" |
| 344 |
msgstr "Diferenças entre kernel/biblioteca C" |
| 345 |
|
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 348 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
#, fuzzy |
| 350 |
#| msgid "" |
| 351 |
#| "The GNU C library does not employ the B<gethostname>() system call; " |
| 352 |
#| "instead, it implements B<gethostname>() as a library function that calls " |
| 353 |
#| "B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> " |
| 354 |
#| "field into I<name>. Having performed the copy, the function then checks " |
| 355 |
#| "if the length of the I<nodename> was greater than or equal to I<len>, and " |
| 356 |
#| "if it is, then the function returns -1 with I<errno> set to " |
| 357 |
#| "B<ENAMETOOLONG>; in this case, a terminating null byte is not included in " |
| 358 |
#| "the returned I<name>." |
| 359 |
msgid "" |
| 360 |
"The GNU C library does not employ the B<gethostname>() system call; " |
| 361 |
"instead, it implements B<gethostname>() as a library function that calls " |
| 362 |
"B<uname>(2) and copies up to I<size> bytes from the returned I<nodename> " |
| 363 |
"field into I<name>. Having performed the copy, the function then checks if " |
| 364 |
"the length of the I<nodename> was greater than or equal to I<size>, and if " |
| 365 |
"it is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in " |
| 366 |
"this case, a terminating null byte is not included in the returned I<name>." |
| 367 |
msgstr "" |
| 368 |
"A biblioteca GNU C não emprega a chamada de sistema B<gethostname>(); em vez " |
| 369 |
"disso, implementa B<gethostname>() como uma função de biblioteca que chama " |
| 370 |
"B<uname>(2) e copia até I<len> bytes do campo I<nodename> retornado em " |
| 371 |
"I<name>. Depois de executar a cópia, a função verifica se o comprimento de " |
| 372 |
"I<nodename> foi maior ou igual a I<len> e, se for, então a função retorna -1 " |
| 373 |
"com I<errno> definido como B<ENAMETOOLONG >; nesse caso, um byte nulo final " |
| 374 |
"não é incluído no I<name> retornado." |
| 375 |
|
| 376 |
#. type: SH |
| 377 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 378 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 379 |
#, no-wrap |
| 380 |
msgid "STANDARDS" |
| 381 |
msgstr "PADRÕES" |
| 382 |
|
| 383 |
#. type: TP |
| 384 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 385 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 386 |
#, fuzzy, no-wrap |
| 387 |
#| msgid "B<gethostname>():" |
| 388 |
msgid "B<gethostname>()" |
| 389 |
msgstr "B<gethostname>():" |
| 390 |
|
| 391 |
#. type: Plain text |
| 392 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 393 |
#: opensuse-tumbleweed |
| 394 |
msgid "POSIX.1-2024." |
| 395 |
msgstr "POSIX.1-2024." |
| 396 |
|
| 397 |
#. type: TP |
| 398 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 399 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 400 |
#, fuzzy, no-wrap |
| 401 |
#| msgid "B<sethostname>():" |
| 402 |
msgid "B<sethostname>()" |
| 403 |
msgstr "B<sethostname>():" |
| 404 |
|
| 405 |
#. type: Plain text |
| 406 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 407 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 408 |
msgid "None." |
| 409 |
msgstr "" |
| 410 |
|
| 411 |
#. type: SH |
| 412 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 413 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 414 |
#, no-wrap |
| 415 |
msgid "HISTORY" |
| 416 |
msgstr "HISTÓRICO" |
| 417 |
|
| 418 |
#. type: Plain text |
| 419 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 420 |
#: opensuse-tumbleweed |
| 421 |
#, fuzzy |
| 422 |
#| msgid "SVr4, 4.3BSD, POSIX.1-2001." |
| 423 |
msgid "4.2BSD, SVr4, POSIX.1-2001." |
| 424 |
msgstr "SVr4, 4.3BSD, POSIX.1-2001." |
| 425 |
|
| 426 |
#. type: Plain text |
| 427 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 428 |
#: opensuse-tumbleweed |
| 429 |
#, fuzzy |
| 430 |
#| msgid "BSD, Solaris." |
| 431 |
msgid "4.2BSD, SVr4." |
| 432 |
msgstr "BSD, Solaris." |
| 433 |
|
| 434 |
#. At least glibc 2.0 and glibc 2.1, older versions not checked |
| 435 |
#. type: Plain text |
| 436 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 437 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 438 |
#, fuzzy |
| 439 |
#| msgid "" |
| 440 |
#| "Versions of glibc before 2.2 handle the case where the length of the " |
| 441 |
#| "I<nodename> was greater than or equal to I<len> differently: nothing is " |
| 442 |
#| "copied into I<name> and the function returns -1 with I<errno> set to " |
| 443 |
#| "B<ENAMETOOLONG>." |
| 444 |
msgid "" |
| 445 |
"Versions of glibc before glibc 2.2 handle the case where the length of the " |
| 446 |
"I<nodename> was greater than or equal to I<size> differently: nothing is " |
| 447 |
"copied into I<name> and the function returns -1 with I<errno> set to " |
| 448 |
"B<ENAMETOOLONG>." |
| 449 |
msgstr "" |
| 450 |
"As versões do glibc anteriores à 2.2 tratam do caso em que o comprimento de " |
| 451 |
"I<nodename> era maior ou igual a I<len> de maneira diferente: nada é copiado " |
| 452 |
"em I<name> e a função retorna -1 com I<errno> definido como B<ENAMETOOLONG>." |
| 453 |
|
| 454 |
#. type: SH |
| 455 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 456 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 457 |
#, no-wrap |
| 458 |
msgid "SEE ALSO" |
| 459 |
msgstr "VEJA TAMBÉM" |
| 460 |
|
| 461 |
#. type: Plain text |
| 462 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 463 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 464 |
msgid "" |
| 465 |
"B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), " |
| 466 |
"B<uts_namespaces>(7)" |
| 467 |
msgstr "" |
| 468 |
"B<hostname>(1), B<getdomainname>(2), B<setdomainname>(2), B<uname>(2), " |
| 469 |
"B<uts_namespaces>(7)" |
| 470 |
|
| 471 |
#. type: TH |
| 472 |
#: debian-trixie |
| 473 |
#, no-wrap |
| 474 |
msgid "2024-05-02" |
| 475 |
msgstr "2 maio 2024" |
| 476 |
|
| 477 |
#. type: TH |
| 478 |
#: debian-trixie |
| 479 |
#, no-wrap |
| 480 |
msgid "Linux man-pages 6.9.1" |
| 481 |
msgstr "Linux man-pages 6.9.1" |
| 482 |
|
| 483 |
#. type: Plain text |
| 484 |
#: debian-trixie |
| 485 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 486 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 487 |
|
| 488 |
#. type: Plain text |
| 489 |
#: debian-trixie |
| 490 |
#, no-wrap |
| 491 |
msgid "" |
| 492 |
"B<int gethostname(char *>I<name>B<, size_t >I<len>B<);>\n" |
| 493 |
"B<int sethostname(const char *>I<name>B<, size_t >I<len>B<);>\n" |
| 494 |
msgstr "" |
| 495 |
"B<int gethostname(char *>I<nome>B<, size_t >I<comp>B<);>\n" |
| 496 |
"B<int sethostname(const char *>I<nome>B<, size_t >I<comp>B<);>\n" |
| 497 |
|
| 498 |
#. type: Plain text |
| 499 |
#: debian-trixie |
| 500 |
msgid "" |
| 501 |
"B<sethostname>() sets the hostname to the value given in the character " |
| 502 |
"array I<name>. The I<len> argument specifies the number of bytes in " |
| 503 |
"I<name>. (Thus, I<name> does not require a terminating null byte.)" |
| 504 |
msgstr "" |
| 505 |
"B<sethostname>() define o nome de máquina com o valor fornecido na matriz de " |
| 506 |
"caracteres I<name>. O argumento I<len> especifica o número de bytes em " |
| 507 |
"I<name>. (Portanto, I<name> não requer um byte nulo final.)" |
| 508 |
|
| 509 |
#. type: Plain text |
| 510 |
#: debian-trixie |
| 511 |
msgid "" |
| 512 |
"B<gethostname>() returns the null-terminated hostname in the character " |
| 513 |
"array I<name>, which has a length of I<len> bytes. If the null-terminated " |
| 514 |
"hostname is too large to fit, then the name is truncated, and no error is " |
| 515 |
"returned (but see NOTES below). POSIX.1 says that if such truncation " |
| 516 |
"occurs, then it is unspecified whether the returned buffer includes a " |
| 517 |
"terminating null byte." |
| 518 |
msgstr "" |
| 519 |
"B<gethostname>() retorna o nome da máquina terminado em nulo no vetor de " |
| 520 |
"caracteres I<name>, que possui um comprimento de I<len> bytes. Se o nome da " |
| 521 |
"máquina terminado em nulo for muito grande para caber, o nome será truncado " |
| 522 |
"e nenhum erro será retornado (mas consulte as NOTAS abaixo). O POSIX.1 diz " |
| 523 |
"que, se esse truncamento ocorrer, não será especificado se o buffer " |
| 524 |
"retornado inclui um byte nulo final." |
| 525 |
|
| 526 |
#. Can't occur for gethostbyname() wrapper, since 'len' has an |
| 527 |
#. unsigned type; can occur for the underlying system call. |
| 528 |
#. type: Plain text |
| 529 |
#: debian-trixie |
| 530 |
msgid "" |
| 531 |
"I<len> is negative or, for B<sethostname>(), I<len> is larger than the " |
| 532 |
"maximum allowed size." |
| 533 |
msgstr "" |
| 534 |
"I<len> é negativo ou, para B<sethostname>(), I<len> é maior que o tamanho " |
| 535 |
"permitido." |
| 536 |
|
| 537 |
#. type: Plain text |
| 538 |
#: debian-trixie |
| 539 |
#, fuzzy |
| 540 |
#| msgid "" |
| 541 |
#| "(glibc B<gethostname>()) I<len> is smaller than the actual size. " |
| 542 |
#| "(Before version 2.1, glibc uses B<EINVAL> for this case.)" |
| 543 |
msgid "" |
| 544 |
"(glibc B<gethostname>()) I<len> is smaller than the actual size. (Before " |
| 545 |
"glibc 2.1, glibc uses B<EINVAL> for this case.)" |
| 546 |
msgstr "" |
| 547 |
"(glibc B<gethostname>()) I<len> é menor que o tamanho real. (Antes da " |
| 548 |
"versão 2.1, glibc usa B<EINVAL> para este caso.)" |
| 549 |
|
| 550 |
#. type: Plain text |
| 551 |
#: debian-trixie |
| 552 |
msgid "" |
| 553 |
"The GNU C library does not employ the B<gethostname>() system call; " |
| 554 |
"instead, it implements B<gethostname>() as a library function that calls " |
| 555 |
"B<uname>(2) and copies up to I<len> bytes from the returned I<nodename> " |
| 556 |
"field into I<name>. Having performed the copy, the function then checks if " |
| 557 |
"the length of the I<nodename> was greater than or equal to I<len>, and if it " |
| 558 |
"is, then the function returns -1 with I<errno> set to B<ENAMETOOLONG>; in " |
| 559 |
"this case, a terminating null byte is not included in the returned I<name>." |
| 560 |
msgstr "" |
| 561 |
"A biblioteca GNU C não emprega a chamada de sistema B<gethostname>(); em vez " |
| 562 |
"disso, implementa B<gethostname>() como uma função de biblioteca que chama " |
| 563 |
"B<uname>(2) e copia até I<len> bytes do campo I<nodename> retornado em " |
| 564 |
"I<name>. Depois de executar a cópia, a função verifica se o comprimento de " |
| 565 |
"I<nodename> foi maior ou igual a I<len> e, se for, então a função retorna -1 " |
| 566 |
"com I<errno> definido como B<ENAMETOOLONG >; nesse caso, um byte nulo final " |
| 567 |
"não é incluído no I<name> retornado." |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
#: debian-trixie fedora-44 fedora-rawhide |
| 571 |
msgid "POSIX.1-2008." |
| 572 |
msgstr "POSIX.1-2008." |
| 573 |
|
| 574 |
#. type: Plain text |
| 575 |
#: debian-trixie fedora-44 fedora-rawhide |
| 576 |
msgid "" |
| 577 |
"SVr4, 4.4BSD (these interfaces first appeared in 4.2BSD). POSIX.1-2001 and " |
| 578 |
"POSIX.1-2008 specify B<gethostname>() but not B<sethostname>()." |
| 579 |
msgstr "" |
| 580 |
"SVr4, 4.4BSD (esta função apareceu primeiramente no 4.2BSD). POSIX.1-2001 e " |
| 581 |
"POSIX.1-2008 especifica B<gethostname>(), mas não B<sethostname>()." |
| 582 |
|
| 583 |
#. At least glibc 2.0 and glibc 2.1, older versions not checked |
| 584 |
#. type: Plain text |
| 585 |
#: debian-trixie |
| 586 |
#, fuzzy |
| 587 |
#| msgid "" |
| 588 |
#| "Versions of glibc before 2.2 handle the case where the length of the " |
| 589 |
#| "I<nodename> was greater than or equal to I<len> differently: nothing is " |
| 590 |
#| "copied into I<name> and the function returns -1 with I<errno> set to " |
| 591 |
#| "B<ENAMETOOLONG>." |
| 592 |
msgid "" |
| 593 |
"Versions of glibc before glibc 2.2 handle the case where the length of the " |
| 594 |
"I<nodename> was greater than or equal to I<len> differently: nothing is " |
| 595 |
"copied into I<name> and the function returns -1 with I<errno> set to " |
| 596 |
"B<ENAMETOOLONG>." |
| 597 |
msgstr "" |
| 598 |
"As versões do glibc anteriores à 2.2 tratam do caso em que o comprimento de " |
| 599 |
"I<nodename> era maior ou igual a I<len> de maneira diferente: nada é copiado " |
| 600 |
"em I<name> e a função retorna -1 com I<errno> definido como B<ENAMETOOLONG>." |
| 601 |
|
| 602 |
#. type: TH |
| 603 |
#: fedora-44 fedora-rawhide |
| 604 |
#, no-wrap |
| 605 |
msgid "2024-11-17" |
| 606 |
msgstr "17 novembro 2024" |
| 607 |
|
| 608 |
#. type: TH |
| 609 |
#: fedora-44 fedora-rawhide |
| 610 |
#, no-wrap |
| 611 |
msgid "Linux man-pages 6.13" |
| 612 |
msgstr "Linux man-pages 6.13" |
| 613 |
|
| 614 |
#. type: TH |
| 615 |
#: mageia-cauldron |
| 616 |
#, no-wrap |
| 617 |
msgid "Linux man-pages 6.17" |
| 618 |
msgstr "Linux man-pages 6.17" |
| 619 |
|
| 620 |
#. type: TH |
| 621 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 622 |
#, no-wrap |
| 623 |
msgid "Linux man-pages (unreleased)" |
| 624 |
msgstr "Linux man-pages (não lançado)" |