| 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 |
# Antonio Belloni <[email protected]>, 2000. |
| 5 |
# André Luiz Fassone <[email protected]>, 2000. |
| 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: 2000-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 |
#, no-wrap |
| 25 |
msgid "getcwd" |
| 26 |
msgstr "" |
| 27 |
|
| 28 |
#. type: TH |
| 29 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 30 |
#: opensuse-tumbleweed |
| 31 |
#, no-wrap |
| 32 |
msgid "2026-02-08" |
| 33 |
msgstr "8 fevereiro 2026" |
| 34 |
|
| 35 |
#. type: TH |
| 36 |
#: archlinux debian-unstable |
| 37 |
#, fuzzy, no-wrap |
| 38 |
#| msgid "Linux man-pages 6.17" |
| 39 |
msgid "Linux man-pages 6.18" |
| 40 |
msgstr "Linux man-pages 6.17" |
| 41 |
|
| 42 |
#. type: SH |
| 43 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 44 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 45 |
#, no-wrap |
| 46 |
msgid "NAME" |
| 47 |
msgstr "NOME" |
| 48 |
|
| 49 |
#. type: Plain text |
| 50 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 51 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 52 |
msgid "getcwd, getwd, get_current_dir_name - get current working directory" |
| 53 |
msgstr "" |
| 54 |
"getcwd, getwd, get_current_dir_name - obtém o diretório de trabalho atual" |
| 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 mageia-cauldron opensuse-leap-16-1 |
| 85 |
#: opensuse-tumbleweed |
| 86 |
#, fuzzy, no-wrap |
| 87 |
#| msgid "B<char *getcwd(char *>I<buf>B<, size_t >I<size>B<);>\n" |
| 88 |
msgid "" |
| 89 |
"B<char *getcwd(>size_t size;\n" |
| 90 |
"B< char >I<buf>B<[>I<size>B<], size_t >I<size>B<);>\n" |
| 91 |
"B<char *get_current_dir_name(void);>\n" |
| 92 |
msgstr "B<char *getcwd(char *>I<buf>B<, size_t >I<size>B<);>\n" |
| 93 |
|
| 94 |
#. type: Plain text |
| 95 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 96 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 97 |
#, fuzzy, no-wrap |
| 98 |
#| msgid "B<char *getwd(char *>I<buf>B<);>\n" |
| 99 |
msgid "B<[[deprecated]] char *getwd(char >I<buf>B<[PATH_MAX]);>\n" |
| 100 |
msgstr "B<char *getwd(char *>I<buf>B<);>\n" |
| 101 |
|
| 102 |
#. type: Plain text |
| 103 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 104 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 105 |
msgid "" |
| 106 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 107 |
msgstr "" |
| 108 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 109 |
"B<feature_test_macros>(7)):" |
| 110 |
|
| 111 |
#. type: Plain text |
| 112 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 113 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 114 |
msgid "B<get_current_dir_name>():" |
| 115 |
msgstr "B<get_current_dir_name>():" |
| 116 |
|
| 117 |
#. type: Plain text |
| 118 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 119 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 120 |
#, no-wrap |
| 121 |
msgid " _GNU_SOURCE\n" |
| 122 |
msgstr " _GNU_SOURCE\n" |
| 123 |
|
| 124 |
#. type: Plain text |
| 125 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 126 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 127 |
msgid "B<getwd>():" |
| 128 |
msgstr "B<getwd>():" |
| 129 |
|
| 130 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 131 |
#. type: Plain text |
| 132 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 133 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 134 |
#, fuzzy, no-wrap |
| 135 |
#| msgid "" |
| 136 |
#| "(_XOPEN_SOURCE\\ E<gt>=\\ 500) && ! (_POSIX_C_SOURCE\\ E<gt>=\\ 200809L)\n" |
| 137 |
#| " || /* Glibc since 2.19: */ _DEFAULT_SOURCE\n" |
| 138 |
#| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 139 |
msgid "" |
| 140 |
" Since glibc 2.12:\n" |
| 141 |
" (_XOPEN_SOURCE E<gt>= 500) && ! (_POSIX_C_SOURCE E<gt>= 200809L)\n" |
| 142 |
" || /* glibc E<gt>= 2.19: */ _DEFAULT_SOURCE\n" |
| 143 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 144 |
" Before glibc 2.12:\n" |
| 145 |
" _BSD_SOURCE || _XOPEN_SOURCE E<gt>= 500\n" |
| 146 |
msgstr "" |
| 147 |
"(_XOPEN_SOURCE\\ E<gt>=\\ 500) && ! (_POSIX_C_SOURCE\\ E<gt>=\\ 200809L)\n" |
| 148 |
" || /* Desde o Glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 149 |
" || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 150 |
|
| 151 |
#. type: SH |
| 152 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 153 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 154 |
#, no-wrap |
| 155 |
msgid "DESCRIPTION" |
| 156 |
msgstr "DESCRIÇÃO" |
| 157 |
|
| 158 |
#. type: Plain text |
| 159 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 160 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 161 |
msgid "" |
| 162 |
"These functions return a null-terminated string containing an absolute " |
| 163 |
"pathname that is the current working directory of the calling process. The " |
| 164 |
"pathname is returned as the function result and via the argument I<buf>, if " |
| 165 |
"present." |
| 166 |
msgstr "" |
| 167 |
|
| 168 |
#. type: Plain text |
| 169 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 170 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 171 |
msgid "" |
| 172 |
"The B<getcwd>() function copies an absolute pathname of the current working " |
| 173 |
"directory to the array pointed to by I<buf>, which is of length I<size>." |
| 174 |
msgstr "" |
| 175 |
"A função B<getcwd()> copia o caminho absoluto do diretório de trabalho " |
| 176 |
"corrente para o vetor apontado por I<buf>, que tem seu tamanho definido por " |
| 177 |
"I<size>." |
| 178 |
|
| 179 |
#. type: Plain text |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, fuzzy |
| 183 |
#| msgid "" |
| 184 |
#| "If the current absolute path name would require a buffer longer than " |
| 185 |
#| "I<size> elements, B<NULL> is returned, and I<errno> is set to B<ERANGE>; " |
| 186 |
#| "an application should check for this error, and allocate a larger buffer " |
| 187 |
#| "if necessary." |
| 188 |
msgid "" |
| 189 |
"If the length of the absolute pathname of the current working directory, " |
| 190 |
"including the terminating null byte, exceeds I<size> bytes, NULL is " |
| 191 |
"returned, and I<errno> is set to B<ERANGE>; an application should check for " |
| 192 |
"this error, and allocate a larger buffer if necessary." |
| 193 |
msgstr "" |
| 194 |
"Se o caminho absoluto corrente for maior do que o 'buffer' de I<size> " |
| 195 |
"elementos, então a função irá retornar B<NULO> e I<errno> receberá o valor " |
| 196 |
"B<ERANGE>; A aplicação (ou programa) deve verificar este tipo de erro, e " |
| 197 |
"alocar um 'buffer' maior se necessário." |
| 198 |
|
| 199 |
#. type: Plain text |
| 200 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 201 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 202 |
#, fuzzy |
| 203 |
#| msgid "" |
| 204 |
#| "As an extension to the POSIX.1 standard, Linux (libc4, libc5, glibc) " |
| 205 |
#| "B<getcwd()> allocates the buffer dynamically using B<malloc()> if I<buf> " |
| 206 |
#| "is B<NULL> on call. In this case, the allocated buffer has the length " |
| 207 |
#| "I<size> unless I<size> is zero, when I<buf> is allocated as big as " |
| 208 |
#| "necessary. It is possible (and, indeed, advisable) to B<free()> the " |
| 209 |
#| "buffers if they have been obtained this way." |
| 210 |
msgid "" |
| 211 |
"As an extension to the POSIX.1-2001 standard, glibc's B<getcwd>() allocates " |
| 212 |
"the buffer dynamically using B<malloc>(3) if I<buf> is NULL. In this case, " |
| 213 |
"the allocated buffer has the length I<size> unless I<size> is zero, when " |
| 214 |
"I<buf> is allocated as big as necessary. The caller should B<free>(3) the " |
| 215 |
"returned buffer." |
| 216 |
msgstr "" |
| 217 |
"Como uma extensão do padrão POSIX.1, Linux (libc4, libc5 e glibc) " |
| 218 |
"B<getcwd()> aloca o 'buffer' dinamicamente usando a função B<malloc()> se " |
| 219 |
"I<buf> for B<NULO> no momento da chamada à função. Neste caso, o 'buffer' " |
| 220 |
"alocado tem o tamanho de I<size> a não ser que I<size> seja zero, quando, " |
| 221 |
"então, I<buf> é alocado do tamanho que for necessário. É possível (e " |
| 222 |
"recomendável) executar a função B<free()> se os 'buffers' forem obtidos " |
| 223 |
"desta maneira." |
| 224 |
|
| 225 |
#. type: Plain text |
| 226 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 227 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 228 |
#, fuzzy |
| 229 |
#| msgid "" |
| 230 |
#| "B<get_current_dir_name>, which is only prototyped if B<_GNU_SOURCE> is " |
| 231 |
#| "defined, will B<malloc>(3) an array big enough to hold the current " |
| 232 |
#| "directory name. If the environment variable B<PWD> is set, and its value " |
| 233 |
#| "is correct, then that value will be returned." |
| 234 |
msgid "" |
| 235 |
"B<get_current_dir_name>() will B<malloc>(3) an array big enough to hold " |
| 236 |
"the absolute pathname of the current working directory. If the environment " |
| 237 |
"variable B<PWD> is set, and its value is correct, then that value will be " |
| 238 |
"returned. The caller should B<free>(3) the returned buffer." |
| 239 |
msgstr "" |
| 240 |
"B<get_current_dir_name>, que é prototipada somente se B<_GNU_SOURCE> estiver " |
| 241 |
"definido, irá B<malloc>(3) um vetor grande o suficiente para conter o nome " |
| 242 |
"do diretório corrente. Se a variável de ambiente B<PWD> estiver " |
| 243 |
"inicializada, e seu valor estiver correto , então este valor será retornado." |
| 244 |
|
| 245 |
#. type: Plain text |
| 246 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 247 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 248 |
msgid "" |
| 249 |
"B<getwd>() does not B<malloc>(3) any memory. The I<buf> argument should " |
| 250 |
"be a pointer to an array at least B<PATH_MAX> bytes long. If the length of " |
| 251 |
"the absolute pathname of the current working directory, including the " |
| 252 |
"terminating null byte, exceeds B<PATH_MAX> bytes, NULL is returned, and " |
| 253 |
"I<errno> is set to B<ENAMETOOLONG>. (Note that on some systems, B<PATH_MAX> " |
| 254 |
"may not be a compile-time constant; furthermore, its value may depend on the " |
| 255 |
"filesystem, see B<pathconf>(3).) For portability and security reasons, use " |
| 256 |
"of B<getwd>() is deprecated." |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: SH |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
#, no-wrap |
| 263 |
msgid "RETURN VALUE" |
| 264 |
msgstr "VALOR DE RETORNO" |
| 265 |
|
| 266 |
#. type: Plain text |
| 267 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 268 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 269 |
msgid "" |
| 270 |
"On success, these functions return a pointer to a string containing the " |
| 271 |
"pathname of the current working directory. In the case of B<getcwd>() and " |
| 272 |
"B<getwd>() this is the same value as I<buf>." |
| 273 |
msgstr "" |
| 274 |
|
| 275 |
#. type: Plain text |
| 276 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 277 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 278 |
#, fuzzy |
| 279 |
#| msgid "" |
| 280 |
#| "B<NULL> on failure (for example, if the current directory is not " |
| 281 |
#| "readable), with I<errno> set accordingly, and I<buf> on success. The " |
| 282 |
#| "contents of the array pointed to by I<buf> is undefined on error." |
| 283 |
msgid "" |
| 284 |
"On failure, these functions return NULL, and I<errno> is set to indicate the " |
| 285 |
"error. The contents of the array pointed to by I<buf> are undefined on " |
| 286 |
"error." |
| 287 |
msgstr "" |
| 288 |
"B<NULO> em caso de falha (por exemplo, se o diretório corrente não pode ser " |
| 289 |
"lido), com I<errno> recebendo o valor de acordo com o erro, e I<buf> em caso " |
| 290 |
"de sucesso. Os conteúdos do array apontados por I<buf> é indefinido no erro." |
| 291 |
|
| 292 |
#. type: SH |
| 293 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 294 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 295 |
#, no-wrap |
| 296 |
msgid "ERRORS" |
| 297 |
msgstr "ERROS" |
| 298 |
|
| 299 |
#. type: TP |
| 300 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 301 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 302 |
#, no-wrap |
| 303 |
msgid "B<EACCES>" |
| 304 |
msgstr "B<EACCES>" |
| 305 |
|
| 306 |
#. type: Plain text |
| 307 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 308 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 309 |
msgid "Permission to read or search a component of the filename was denied." |
| 310 |
msgstr "" |
| 311 |
|
| 312 |
#. type: TP |
| 313 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 314 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 315 |
#, no-wrap |
| 316 |
msgid "B<EFAULT>" |
| 317 |
msgstr "B<EFAULT>" |
| 318 |
|
| 319 |
#. type: Plain text |
| 320 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 321 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 322 |
msgid "I<buf> points to a bad address." |
| 323 |
msgstr "" |
| 324 |
|
| 325 |
#. type: TP |
| 326 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 327 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 328 |
#, no-wrap |
| 329 |
msgid "B<EINVAL>" |
| 330 |
msgstr "B<EINVAL>" |
| 331 |
|
| 332 |
#. type: Plain text |
| 333 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 334 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 335 |
msgid "The I<size> argument is zero and I<buf> is not a null pointer." |
| 336 |
msgstr "" |
| 337 |
|
| 338 |
#. type: Plain text |
| 339 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 340 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 341 |
msgid "B<getwd>(): I<buf> is NULL." |
| 342 |
msgstr "" |
| 343 |
|
| 344 |
#. type: TP |
| 345 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 346 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 347 |
#, no-wrap |
| 348 |
msgid "B<ENAMETOOLONG>" |
| 349 |
msgstr "B<ENAMETOOLONG>" |
| 350 |
|
| 351 |
#. type: Plain text |
| 352 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 353 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 354 |
msgid "" |
| 355 |
"B<getwd>(): The size of the null-terminated absolute pathname string exceeds " |
| 356 |
"B<PATH_MAX> bytes." |
| 357 |
msgstr "" |
| 358 |
|
| 359 |
#. type: TP |
| 360 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 361 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 362 |
#, no-wrap |
| 363 |
msgid "B<ENOENT>" |
| 364 |
msgstr "B<ENOENT>" |
| 365 |
|
| 366 |
#. type: Plain text |
| 367 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 368 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 369 |
msgid "The current working directory has been unlinked." |
| 370 |
msgstr "" |
| 371 |
|
| 372 |
#. type: TP |
| 373 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 374 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 375 |
#, no-wrap |
| 376 |
msgid "B<ENOMEM>" |
| 377 |
msgstr "B<ENOMEM>" |
| 378 |
|
| 379 |
#. type: Plain text |
| 380 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 381 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 382 |
msgid "Out of memory." |
| 383 |
msgstr "Sem memória." |
| 384 |
|
| 385 |
#. type: TP |
| 386 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 387 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 388 |
#, no-wrap |
| 389 |
msgid "B<ERANGE>" |
| 390 |
msgstr "B<ERANGE>" |
| 391 |
|
| 392 |
#. type: Plain text |
| 393 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 394 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 395 |
msgid "" |
| 396 |
"The I<size> argument is less than the length of the absolute pathname of the " |
| 397 |
"working directory, including the terminating null byte. You need to " |
| 398 |
"allocate a bigger array and try again." |
| 399 |
msgstr "" |
| 400 |
|
| 401 |
#. type: SH |
| 402 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 403 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 404 |
#, no-wrap |
| 405 |
msgid "ATTRIBUTES" |
| 406 |
msgstr "ATRIBUTOS" |
| 407 |
|
| 408 |
#. type: Plain text |
| 409 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 410 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 411 |
msgid "" |
| 412 |
"For an explanation of the terms used in this section, see B<attributes>(7)." |
| 413 |
msgstr "" |
| 414 |
"Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)." |
| 415 |
|
| 416 |
#. type: tbl table |
| 417 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 418 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 419 |
#, no-wrap |
| 420 |
msgid "Interface" |
| 421 |
msgstr "Interface" |
| 422 |
|
| 423 |
#. type: tbl table |
| 424 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 425 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 426 |
#, no-wrap |
| 427 |
msgid "Attribute" |
| 428 |
msgstr "Atributo" |
| 429 |
|
| 430 |
#. type: tbl table |
| 431 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 432 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 433 |
#, no-wrap |
| 434 |
msgid "Value" |
| 435 |
msgstr "Valor" |
| 436 |
|
| 437 |
#. type: tbl table |
| 438 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 439 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 440 |
#, no-wrap |
| 441 |
msgid ".na\n" |
| 442 |
msgstr ".na\n" |
| 443 |
|
| 444 |
#. type: tbl table |
| 445 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 446 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 447 |
#, no-wrap |
| 448 |
msgid ".nh\n" |
| 449 |
msgstr ".nh\n" |
| 450 |
|
| 451 |
#. type: tbl table |
| 452 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 453 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 454 |
#, no-wrap |
| 455 |
msgid "" |
| 456 |
"B<getcwd>(),\n" |
| 457 |
"B<getwd>()" |
| 458 |
msgstr "" |
| 459 |
"B<getcwd>(),\n" |
| 460 |
"B<getwd>()" |
| 461 |
|
| 462 |
#. type: tbl table |
| 463 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 464 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 465 |
#, no-wrap |
| 466 |
msgid "Thread safety" |
| 467 |
msgstr "Thread safety" |
| 468 |
|
| 469 |
#. type: tbl table |
| 470 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 471 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 472 |
#, no-wrap |
| 473 |
msgid "MT-Safe" |
| 474 |
msgstr "MT-Safe" |
| 475 |
|
| 476 |
#. type: TP |
| 477 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 478 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 479 |
#, no-wrap |
| 480 |
msgid "B<get_current_dir_name>()" |
| 481 |
msgstr "B<get_current_dir_name>()" |
| 482 |
|
| 483 |
#. type: tbl table |
| 484 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 485 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 486 |
#, no-wrap |
| 487 |
msgid "MT-Safe env" |
| 488 |
msgstr "Ambiente MT-Safe" |
| 489 |
|
| 490 |
#. type: SH |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
#, no-wrap |
| 494 |
msgid "VERSIONS" |
| 495 |
msgstr "VERSÕES" |
| 496 |
|
| 497 |
#. type: Plain text |
| 498 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 499 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 500 |
msgid "" |
| 501 |
"POSIX.1-2001 leaves the behavior of B<getcwd>() unspecified if I<buf> is " |
| 502 |
"NULL." |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: Plain text |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
msgid "POSIX.1-2001 does not define any errors for B<getwd>()." |
| 509 |
msgstr "" |
| 510 |
|
| 511 |
#. type: SS |
| 512 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 513 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 514 |
#, no-wrap |
| 515 |
msgid "C library/kernel differences" |
| 516 |
msgstr "Diferenças entre kernel/biblioteca C" |
| 517 |
|
| 518 |
#. commit 3272c544da48f8915a0e34189182aed029bd0f2b |
| 519 |
#. type: Plain text |
| 520 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 521 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 522 |
msgid "" |
| 523 |
"On Linux, the kernel provides a B<getcwd>() system call, which the " |
| 524 |
"functions described in this page will use if possible. The system call " |
| 525 |
"takes the same arguments as the library function of the same name, but is " |
| 526 |
"limited to returning at most B<PATH_MAX> bytes. (Before Linux 3.12, the " |
| 527 |
"limit on the size of the returned pathname was the system page size. On " |
| 528 |
"many architectures, B<PATH_MAX> and the system page size are both 4096 " |
| 529 |
"bytes, but a few architectures have a larger page size.) If the length of " |
| 530 |
"the pathname of the current working directory exceeds this limit, then the " |
| 531 |
"system call fails with the error B<ENAMETOOLONG>. In this case, the library " |
| 532 |
"functions fall back to a (slower) alternative implementation that returns " |
| 533 |
"the full pathname." |
| 534 |
msgstr "" |
| 535 |
|
| 536 |
#. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74 |
| 537 |
#. type: Plain text |
| 538 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 539 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 540 |
msgid "" |
| 541 |
"Following a change in Linux 2.6.36, the pathname returned by the " |
| 542 |
"B<getcwd>() system call will be prefixed with the string \"(unreachable)\" " |
| 543 |
"if the current directory is not below the root directory of the current " |
| 544 |
"process (e.g., because the process set a new filesystem root using " |
| 545 |
"B<chroot>(2) without changing its current directory into the new root). " |
| 546 |
"Such behavior can also be caused by an unprivileged user by changing the " |
| 547 |
"current directory into another mount namespace. When dealing with pathnames " |
| 548 |
"from untrusted sources, callers of the functions described in this page " |
| 549 |
"(before glibc 2.27) or the raw B<getcwd>() system call should consider " |
| 550 |
"checking whether the returned pathname starts with '/' or '(' to avoid " |
| 551 |
"misinterpreting an unreachable path as a relative pathname." |
| 552 |
msgstr "" |
| 553 |
|
| 554 |
#. type: SH |
| 555 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 556 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 557 |
#, no-wrap |
| 558 |
msgid "STANDARDS" |
| 559 |
msgstr "PADRÕES" |
| 560 |
|
| 561 |
#. type: TP |
| 562 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 563 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 564 |
#, fuzzy, no-wrap |
| 565 |
#| msgid "B<getwd>():" |
| 566 |
msgid "B<getcwd>()" |
| 567 |
msgstr "B<getwd>():" |
| 568 |
|
| 569 |
#. type: Plain text |
| 570 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 571 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 572 |
msgid "POSIX.1-2008." |
| 573 |
msgstr "POSIX.1-2008." |
| 574 |
|
| 575 |
#. type: Plain text |
| 576 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 577 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 578 |
msgid "GNU." |
| 579 |
msgstr "GNU." |
| 580 |
|
| 581 |
#. type: TP |
| 582 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 583 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 584 |
#, fuzzy, no-wrap |
| 585 |
#| msgid "B<getwd>():" |
| 586 |
msgid "B<getwd>()" |
| 587 |
msgstr "B<getwd>():" |
| 588 |
|
| 589 |
#. type: Plain text |
| 590 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 591 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 592 |
msgid "None." |
| 593 |
msgstr "" |
| 594 |
|
| 595 |
#. type: SH |
| 596 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 597 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 598 |
#, no-wrap |
| 599 |
msgid "HISTORY" |
| 600 |
msgstr "HISTÓRICO" |
| 601 |
|
| 602 |
#. type: Plain text |
| 603 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 604 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 605 |
msgid "POSIX.1-2001." |
| 606 |
msgstr "POSIX.1-2001." |
| 607 |
|
| 608 |
#. type: Plain text |
| 609 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 610 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 611 |
msgid "" |
| 612 |
"POSIX.1-2001, but marked LEGACY. Removed in POSIX.1-2008. Use B<getcwd>() " |
| 613 |
"instead." |
| 614 |
msgstr "" |
| 615 |
|
| 616 |
#. type: Plain text |
| 617 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 618 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 619 |
msgid "" |
| 620 |
"Under Linux, these functions make use of the B<getcwd>() system call " |
| 621 |
"(available since Linux 2.1.92). On older systems they would query I</proc/" |
| 622 |
"self/cwd>. If both system call and proc filesystem are missing, a generic " |
| 623 |
"implementation is called. Only in that case can these calls fail under " |
| 624 |
"Linux with B<EACCES>." |
| 625 |
msgstr "" |
| 626 |
|
| 627 |
#. type: SH |
| 628 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 629 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 630 |
#, no-wrap |
| 631 |
msgid "NOTES" |
| 632 |
msgstr "NOTAS" |
| 633 |
|
| 634 |
#. type: Plain text |
| 635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
msgid "" |
| 638 |
"These functions are often used to save the location of the current working " |
| 639 |
"directory for the purpose of returning to it later. Opening the current " |
| 640 |
"directory (\".\") and calling B<fchdir>(2) to return is usually a faster " |
| 641 |
"and more reliable alternative when sufficiently many file descriptors are " |
| 642 |
"available, especially on platforms other than Linux." |
| 643 |
msgstr "" |
| 644 |
|
| 645 |
#. type: SH |
| 646 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 647 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 648 |
#, no-wrap |
| 649 |
msgid "BUGS" |
| 650 |
msgstr "BUGS" |
| 651 |
|
| 652 |
#. type: Plain text |
| 653 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 654 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 655 |
msgid "" |
| 656 |
"Since the Linux 2.6.36 change that added \"(unreachable)\" in the " |
| 657 |
"circumstances described above, the glibc implementation of B<getcwd>() has " |
| 658 |
"failed to conform to POSIX and returned a relative pathname when the API " |
| 659 |
"contract requires an absolute pathname. With glibc 2.27 onwards this is " |
| 660 |
"corrected; calling B<getcwd>() from such a pathname will now result in " |
| 661 |
"failure with B<ENOENT>." |
| 662 |
msgstr "" |
| 663 |
|
| 664 |
#. type: SH |
| 665 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 666 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 667 |
#, no-wrap |
| 668 |
msgid "SEE ALSO" |
| 669 |
msgstr "VEJA TAMBÉM" |
| 670 |
|
| 671 |
#. type: Plain text |
| 672 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 673 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 674 |
msgid "" |
| 675 |
"B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), " |
| 676 |
"B<malloc>(3)" |
| 677 |
msgstr "" |
| 678 |
"B<pwd>(1), B<chdir>(2), B<fchdir>(2), B<open>(2), B<unlink>(2), B<free>(3), " |
| 679 |
"B<malloc>(3)" |
| 680 |
|
| 681 |
#. type: TH |
| 682 |
#: debian-trixie |
| 683 |
#, no-wrap |
| 684 |
msgid "2024-05-02" |
| 685 |
msgstr "2 maio 2024" |
| 686 |
|
| 687 |
#. type: TH |
| 688 |
#: debian-trixie |
| 689 |
#, no-wrap |
| 690 |
msgid "Linux man-pages 6.9.1" |
| 691 |
msgstr "Linux man-pages 6.9.1" |
| 692 |
|
| 693 |
#. type: Plain text |
| 694 |
#: debian-trixie |
| 695 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 696 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 697 |
|
| 698 |
#. type: Plain text |
| 699 |
#: debian-trixie fedora-44 fedora-rawhide |
| 700 |
#, fuzzy, no-wrap |
| 701 |
#| msgid "B<char *getcwd(char *>I<buf>B<, size_t >I<size>B<);>\n" |
| 702 |
msgid "" |
| 703 |
"B<char *getcwd(char >I<buf>B<[.>I<size>B<], size_t >I<size>B<);>\n" |
| 704 |
"B<char *get_current_dir_name(void);>\n" |
| 705 |
msgstr "B<char *getcwd(char *>I<buf>B<, size_t >I<size>B<);>\n" |
| 706 |
|
| 707 |
#. commit 8df9d1a4142311c084ffeeacb67cd34d190eff74 |
| 708 |
#. type: Plain text |
| 709 |
#: debian-trixie |
| 710 |
msgid "" |
| 711 |
"Following a change in Linux 2.6.36, the pathname returned by the " |
| 712 |
"B<getcwd>() system call will be prefixed with the string \"(unreachable)\" " |
| 713 |
"if the current directory is not below the root directory of the current " |
| 714 |
"process (e.g., because the process set a new filesystem root using " |
| 715 |
"B<chroot>(2) without changing its current directory into the new root). " |
| 716 |
"Such behavior can also be caused by an unprivileged user by changing the " |
| 717 |
"current directory into another mount namespace. When dealing with pathname " |
| 718 |
"from untrusted sources, callers of the functions described in this page " |
| 719 |
"should consider checking whether the returned pathname starts with '/' or " |
| 720 |
"'(' to avoid misinterpreting an unreachable path as a relative pathname." |
| 721 |
msgstr "" |
| 722 |
|
| 723 |
#. type: TH |
| 724 |
#: fedora-44 fedora-rawhide |
| 725 |
#, no-wrap |
| 726 |
msgid "2025-02-20" |
| 727 |
msgstr "20 fevereiro 2025" |
| 728 |
|
| 729 |
#. type: TH |
| 730 |
#: fedora-44 fedora-rawhide |
| 731 |
#, no-wrap |
| 732 |
msgid "Linux man-pages 6.13" |
| 733 |
msgstr "Linux man-pages 6.13" |
| 734 |
|
| 735 |
#. type: TH |
| 736 |
#: mageia-cauldron |
| 737 |
#, no-wrap |
| 738 |
msgid "Linux man-pages 6.17" |
| 739 |
msgstr "Linux man-pages 6.17" |
| 740 |
|
| 741 |
#. type: TH |
| 742 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 743 |
#, no-wrap |
| 744 |
msgid "Linux man-pages (unreleased)" |
| 745 |
msgstr "Linux man-pages (não lançado)" |