| 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]>, 2001. |
| 5 |
# Marcelo Pereira da Silva <[email protected]>, 2001. |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: manpages-l10n\n" |
| 9 |
"POT-Creation-Date: 2026-06-05 06:39+0200\n" |
| 10 |
"PO-Revision-Date: 2001-06-02 19:20-0300\n" |
| 11 |
"Last-Translator: Marcelo Pereira da Silva <[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 "readlink" |
| 26 |
msgstr "readlink" |
| 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 "readlink, readlinkat - read value of a symbolic link" |
| 53 |
msgstr "readlink, readlinkat - lê valor de uma ligação simbólica" |
| 54 |
|
| 55 |
#. type: SH |
| 56 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 57 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 58 |
#, no-wrap |
| 59 |
msgid "LIBRARY" |
| 60 |
msgstr "BIBLIOTECA" |
| 61 |
|
| 62 |
#. type: Plain text |
| 63 |
#: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron |
| 64 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 65 |
msgid "Standard C library (I<libc>,\\ I<-lc>)" |
| 66 |
msgstr "Biblioteca C Padrão (I<libc>,\\ I<-lc>)" |
| 67 |
|
| 68 |
#. type: SH |
| 69 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 70 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 71 |
#, no-wrap |
| 72 |
msgid "SYNOPSIS" |
| 73 |
msgstr "SINOPSE" |
| 74 |
|
| 75 |
#. type: Plain text |
| 76 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 77 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 78 |
#, no-wrap |
| 79 |
msgid "B<#include E<lt>unistd.hE<gt>>\n" |
| 80 |
msgstr "B<#include E<lt>unistd.hE<gt>>\n" |
| 81 |
|
| 82 |
#. type: Plain text |
| 83 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 84 |
#: opensuse-tumbleweed |
| 85 |
#, fuzzy, no-wrap |
| 86 |
#| msgid "" |
| 87 |
#| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 88 |
#| "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 89 |
msgid "" |
| 90 |
"B<ssize_t readlink(>size_t bufsiz;\n" |
| 91 |
"B< const char *restrict >I<path>B<,>\n" |
| 92 |
"B< char >I<buf>B<[restrict >I<bufsiz>B<], size_t >I<bufsiz>B<);>\n" |
| 93 |
msgstr "" |
| 94 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 95 |
"B< char *>I<buf>B<, size_t >I<bufsiz>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 |
#, fuzzy, no-wrap |
| 101 |
#| msgid "" |
| 102 |
#| "B<#include E<lt>sys/types.hE<gt>>\n" |
| 103 |
#| "B<#include E<lt>dirent.hE<gt>>\n" |
| 104 |
msgid "" |
| 105 |
"B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n" |
| 106 |
"B<#include E<lt>unistd.hE<gt>>\n" |
| 107 |
msgstr "" |
| 108 |
"B<#include E<lt>sys/types.hE<gt>>\n" |
| 109 |
"B<#include E<lt>dirent.hE<gt>>\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<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 117 |
#| "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 118 |
msgid "" |
| 119 |
"B<ssize_t readlinkat(>size_t bufsiz;\n" |
| 120 |
"B< int >I<dirfd>B<, const char *restrict >I<path>B<,>\n" |
| 121 |
"B< char >I<buf>B<[restrict >I<bufsiz>B<], size_t >I<bufsiz>B<);>\n" |
| 122 |
msgstr "" |
| 123 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 124 |
"B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 125 |
|
| 126 |
#. type: Plain text |
| 127 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 128 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 129 |
msgid "" |
| 130 |
"Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):" |
| 131 |
msgstr "" |
| 132 |
"Requisitos de macro de teste de recursos para o glibc (consulte " |
| 133 |
"B<feature_test_macros>(7)):" |
| 134 |
|
| 135 |
#. type: Plain text |
| 136 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 137 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 138 |
msgid "B<readlink>():" |
| 139 |
msgstr "B<readlink>():" |
| 140 |
|
| 141 |
#. || _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED |
| 142 |
#. type: Plain text |
| 143 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 144 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 145 |
#, fuzzy, no-wrap |
| 146 |
#| msgid "" |
| 147 |
#| "_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n" |
| 148 |
#| " || /* Since glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 149 |
#| " || /* Glibc versions E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 150 |
msgid "" |
| 151 |
" _XOPEN_SOURCE E<gt>= 500 || _POSIX_C_SOURCE E<gt>= 200112L\n" |
| 152 |
" || /* glibc E<lt>= 2.19: */ _BSD_SOURCE\n" |
| 153 |
msgstr "" |
| 154 |
"_ISOC99_SOURCE || _POSIX_C_SOURCE\\ E<gt>=\\ 200112L\n" |
| 155 |
" || /* Desde o glibc 2.19: */ _DEFAULT_SOURCE\n" |
| 156 |
" || /* Glibc versões E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n" |
| 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 "B<readlinkat>():" |
| 162 |
msgstr "B<readlinkat>():" |
| 163 |
|
| 164 |
#. type: Plain text |
| 165 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 166 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 167 |
#, no-wrap |
| 168 |
msgid "" |
| 169 |
" Since glibc 2.10:\n" |
| 170 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 171 |
" Before glibc 2.10:\n" |
| 172 |
" _ATFILE_SOURCE\n" |
| 173 |
msgstr "" |
| 174 |
" Desde o glibc 2.10:\n" |
| 175 |
" _POSIX_C_SOURCE E<gt>= 200809L\n" |
| 176 |
" Antes da glibc 2.10:\n" |
| 177 |
" _ATFILE_SOURCE\n" |
| 178 |
|
| 179 |
#. type: SH |
| 180 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 181 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 182 |
#, no-wrap |
| 183 |
msgid "DESCRIPTION" |
| 184 |
msgstr "DESCRIÇÃO" |
| 185 |
|
| 186 |
#. type: Plain text |
| 187 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 188 |
#: opensuse-tumbleweed |
| 189 |
#, fuzzy |
| 190 |
#| msgid "" |
| 191 |
#| "B<readlink> places the contents of the symbolic link I<path> in the " |
| 192 |
#| "buffer I<buf>, which has size I<bufsiz>. B<readlink> does not append a " |
| 193 |
#| "B<NUL> character to I<buf>. It will truncate the contents (to a length " |
| 194 |
#| "of I<bufsiz> characters), in case the buffer is too small to hold all of " |
| 195 |
#| "the contents." |
| 196 |
msgid "" |
| 197 |
"B<readlink>() places the contents of the symbolic link I<path> in the " |
| 198 |
"buffer I<buf>, which has size I<bufsiz>. B<readlink>() does not append a " |
| 199 |
"terminating null byte to I<buf>. It will (silently) truncate the contents " |
| 200 |
"(to a length of I<bufsiz> characters), in case the buffer is too small to " |
| 201 |
"hold all of the contents." |
| 202 |
msgstr "" |
| 203 |
"B<readlink> coloca o conteúdo de uma ligação simbólica I<path> no buffer " |
| 204 |
"I<buf>, o qual tem o tamanho de I<bufsiz>. B<readlink> não anexa um caracter " |
| 205 |
"B<NUL> para I<buf>. Ele irá truncar o conteúdo (para um tamanho de I<bufsiz> " |
| 206 |
"caracteres), no caso do buffer ser muito pequeno para guardar todo o " |
| 207 |
"conteúdo." |
| 208 |
|
| 209 |
#. type: SS |
| 210 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 211 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 212 |
#, no-wrap |
| 213 |
msgid "readlinkat()" |
| 214 |
msgstr "readlinkat()" |
| 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 |
"The B<readlinkat>() system call operates in exactly the same way as " |
| 221 |
"B<readlink>(), except for the differences described here." |
| 222 |
msgstr "" |
| 223 |
|
| 224 |
#. type: Plain text |
| 225 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 226 |
#: opensuse-tumbleweed |
| 227 |
msgid "" |
| 228 |
"If I<path> is relative, then it is interpreted relative to the directory " |
| 229 |
"referred to by the file descriptor I<dirfd> (rather than relative to the " |
| 230 |
"current working directory of the calling process, as is done by " |
| 231 |
"B<readlink>() for a relative pathname)." |
| 232 |
msgstr "" |
| 233 |
|
| 234 |
#. type: Plain text |
| 235 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 236 |
#: opensuse-tumbleweed |
| 237 |
msgid "" |
| 238 |
"If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then " |
| 239 |
"I<path> is interpreted relative to the current working directory of the " |
| 240 |
"calling process (like B<readlink>())." |
| 241 |
msgstr "" |
| 242 |
|
| 243 |
#. type: Plain text |
| 244 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 245 |
#: opensuse-tumbleweed |
| 246 |
msgid "If I<path> is absolute, then I<dirfd> is ignored." |
| 247 |
msgstr "" |
| 248 |
|
| 249 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 250 |
#. type: Plain text |
| 251 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 252 |
#: opensuse-tumbleweed |
| 253 |
msgid "" |
| 254 |
"Since Linux 2.6.39, I<path> can be an empty string, in which case the call " |
| 255 |
"operates on the symbolic link referred to by I<dirfd> (which should have " |
| 256 |
"been obtained using B<open>(2) with the B<O_PATH> and B<O_NOFOLLOW> flags)." |
| 257 |
msgstr "" |
| 258 |
|
| 259 |
#. type: Plain text |
| 260 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 261 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 262 |
msgid "See B<openat>(2) for an explanation of the need for B<readlinkat>()." |
| 263 |
msgstr "" |
| 264 |
|
| 265 |
#. type: SH |
| 266 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 267 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 268 |
#, no-wrap |
| 269 |
msgid "RETURN VALUE" |
| 270 |
msgstr "VALOR DE RETORNO" |
| 271 |
|
| 272 |
#. type: Plain text |
| 273 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 274 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 275 |
msgid "" |
| 276 |
"On success, these calls return the number of bytes placed in I<buf>. (If " |
| 277 |
"the returned value equals I<bufsiz>, then truncation may have occurred.) On " |
| 278 |
"error, -1 is returned and I<errno> is set to indicate the error." |
| 279 |
msgstr "" |
| 280 |
|
| 281 |
#. type: SH |
| 282 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 283 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 284 |
#, no-wrap |
| 285 |
msgid "ERRORS" |
| 286 |
msgstr "ERROS" |
| 287 |
|
| 288 |
#. type: TP |
| 289 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 290 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 291 |
#, no-wrap |
| 292 |
msgid "B<EACCES>" |
| 293 |
msgstr "B<EACCES>" |
| 294 |
|
| 295 |
#. type: Plain text |
| 296 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 297 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 298 |
#, fuzzy |
| 299 |
#| msgid "Search permission is denied for a component of the path prefix." |
| 300 |
msgid "" |
| 301 |
"Search permission is denied for a component of the path prefix. (See also " |
| 302 |
"B<path_resolution>(7).)" |
| 303 |
msgstr "Permissão de busca é negada para um componte do caminho." |
| 304 |
|
| 305 |
#. type: TP |
| 306 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 307 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 308 |
#, no-wrap |
| 309 |
msgid "B<EBADF>" |
| 310 |
msgstr "B<EBADF>" |
| 311 |
|
| 312 |
#. type: Plain text |
| 313 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 314 |
#: opensuse-tumbleweed |
| 315 |
msgid "" |
| 316 |
"(B<readlinkat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> " |
| 317 |
"nor a valid file descriptor." |
| 318 |
msgstr "" |
| 319 |
|
| 320 |
#. type: TP |
| 321 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 322 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 323 |
#, no-wrap |
| 324 |
msgid "B<EFAULT>" |
| 325 |
msgstr "B<EFAULT>" |
| 326 |
|
| 327 |
#. type: Plain text |
| 328 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 329 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 330 |
msgid "I<buf> extends outside the process's allocated address space." |
| 331 |
msgstr "" |
| 332 |
"I<buf> extende-se para fora do processo de alocação de espaço de endereços." |
| 333 |
|
| 334 |
#. type: TP |
| 335 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 336 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 337 |
#, no-wrap |
| 338 |
msgid "B<EINVAL>" |
| 339 |
msgstr "B<EINVAL>" |
| 340 |
|
| 341 |
#. At the glibc level, bufsiz is unsigned, so this error can only occur |
| 342 |
#. if bufsiz==0. However, the in the kernel syscall, bufsiz is signed, |
| 343 |
#. and this error can also occur if bufsiz < 0. |
| 344 |
#. See: http://thread.gmane.org/gmane.linux.man/380 |
| 345 |
#. Subject: [patch 0/3] [RFC] kernel/glibc mismatch of "readlink" syscall? |
| 346 |
#. type: Plain text |
| 347 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 348 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 349 |
msgid "I<bufsiz> is not positive." |
| 350 |
msgstr "I<bufsiz> não é positivo." |
| 351 |
|
| 352 |
#. type: Plain text |
| 353 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 354 |
#: opensuse-tumbleweed |
| 355 |
msgid "" |
| 356 |
"The named file (i.e., the final filename component of I<path>) is not a " |
| 357 |
"symbolic link." |
| 358 |
msgstr "" |
| 359 |
|
| 360 |
#. type: TP |
| 361 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 362 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 363 |
#, no-wrap |
| 364 |
msgid "B<EIO>" |
| 365 |
msgstr "B<EIO>" |
| 366 |
|
| 367 |
#. type: Plain text |
| 368 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 369 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 370 |
msgid "An I/O error occurred while reading from the filesystem." |
| 371 |
msgstr "Um erro de E/S ocorreu enquanto estava lendo o sistema de arquivos." |
| 372 |
|
| 373 |
#. type: TP |
| 374 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 375 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 376 |
#, no-wrap |
| 377 |
msgid "B<ELOOP>" |
| 378 |
msgstr "B<ELOOP>" |
| 379 |
|
| 380 |
#. type: Plain text |
| 381 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 382 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 383 |
msgid "Too many symbolic links were encountered in translating the pathname." |
| 384 |
msgstr "Muitas ligações simbólicas foram encontradas na tradução do caminho." |
| 385 |
|
| 386 |
#. type: TP |
| 387 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 388 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 389 |
#, no-wrap |
| 390 |
msgid "B<ENAMETOOLONG>" |
| 391 |
msgstr "B<ENAMETOOLONG>" |
| 392 |
|
| 393 |
#. type: Plain text |
| 394 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 395 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 396 |
msgid "A pathname, or a component of a pathname, was too long." |
| 397 |
msgstr "Um nome de caminho, ou um componente deste, é muito longo." |
| 398 |
|
| 399 |
#. type: TP |
| 400 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 401 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 402 |
#, no-wrap |
| 403 |
msgid "B<ENOENT>" |
| 404 |
msgstr "B<ENOENT>" |
| 405 |
|
| 406 |
#. type: Plain text |
| 407 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 408 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 409 |
msgid "The named file does not exist." |
| 410 |
msgstr "O arquivo nomeado não existe." |
| 411 |
|
| 412 |
#. type: TP |
| 413 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 414 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 415 |
#, no-wrap |
| 416 |
msgid "B<ENOMEM>" |
| 417 |
msgstr "B<ENOMEM>" |
| 418 |
|
| 419 |
#. type: Plain text |
| 420 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 421 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 422 |
msgid "Insufficient kernel memory was available." |
| 423 |
msgstr "A memória do kernel disponível foi insuficiente." |
| 424 |
|
| 425 |
#. type: TP |
| 426 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 427 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 428 |
#, no-wrap |
| 429 |
msgid "B<ENOTDIR>" |
| 430 |
msgstr "B<ENOTDIR>" |
| 431 |
|
| 432 |
#. type: Plain text |
| 433 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 434 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 435 |
msgid "A component of the path prefix is not a directory." |
| 436 |
msgstr "Um componente do prefixo do caminho não é um diretório." |
| 437 |
|
| 438 |
#. type: Plain text |
| 439 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 440 |
#: opensuse-tumbleweed |
| 441 |
msgid "" |
| 442 |
"(B<readlinkat>()) I<path> is relative and I<dirfd> is a file descriptor " |
| 443 |
"referring to a file other than a directory." |
| 444 |
msgstr "" |
| 445 |
|
| 446 |
#. type: SH |
| 447 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 448 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 449 |
#, no-wrap |
| 450 |
msgid "STANDARDS" |
| 451 |
msgstr "PADRÕES" |
| 452 |
|
| 453 |
#. type: Plain text |
| 454 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 455 |
#: opensuse-tumbleweed |
| 456 |
msgid "POSIX.1-2024." |
| 457 |
msgstr "POSIX.1-2024." |
| 458 |
|
| 459 |
#. type: SH |
| 460 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 461 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 462 |
#, no-wrap |
| 463 |
msgid "HISTORY" |
| 464 |
msgstr "HISTÓRICO" |
| 465 |
|
| 466 |
#. type: TP |
| 467 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 468 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 469 |
#, fuzzy, no-wrap |
| 470 |
#| msgid "B<readlink>():" |
| 471 |
msgid "B<readlink>()" |
| 472 |
msgstr "B<readlink>():" |
| 473 |
|
| 474 |
#. type: Plain text |
| 475 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 476 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 477 |
#, fuzzy |
| 478 |
#| msgid "C99, POSIX.1-2001, POSIX.1-2008." |
| 479 |
msgid "4.4BSD (first appeared in 4.2BSD), POSIX.1-2001, POSIX.1-2008." |
| 480 |
msgstr "C99, POSIX.1-2001, POSIX.1-2008." |
| 481 |
|
| 482 |
#. type: TP |
| 483 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 484 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 485 |
#, fuzzy, no-wrap |
| 486 |
#| msgid "B<readlinkat>():" |
| 487 |
msgid "B<readlinkat>()" |
| 488 |
msgstr "B<readlinkat>():" |
| 489 |
|
| 490 |
#. type: Plain text |
| 491 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 492 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 493 |
msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 494 |
msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4." |
| 495 |
|
| 496 |
#. type: Plain text |
| 497 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 498 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 499 |
msgid "" |
| 500 |
"Up to and including glibc 2.4, the return type of B<readlink>() was " |
| 501 |
"declared as I<int>. Nowadays, the return type is declared as I<ssize_t>, as " |
| 502 |
"(newly) required in POSIX.1-2001." |
| 503 |
msgstr "" |
| 504 |
|
| 505 |
#. type: SS |
| 506 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 507 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 508 |
#, no-wrap |
| 509 |
msgid "glibc" |
| 510 |
msgstr "glibc" |
| 511 |
|
| 512 |
#. type: Plain text |
| 513 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 514 |
#: opensuse-tumbleweed |
| 515 |
msgid "" |
| 516 |
"On older kernels where B<readlinkat>() is unavailable, the glibc wrapper " |
| 517 |
"function falls back to the use of B<readlink>(). When I<path> is relative, " |
| 518 |
"glibc constructs a pathname based on the symbolic link in I</proc/self/fd> " |
| 519 |
"that corresponds to the I<dirfd> argument." |
| 520 |
msgstr "" |
| 521 |
|
| 522 |
#. type: SH |
| 523 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 524 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 525 |
#, no-wrap |
| 526 |
msgid "NOTES" |
| 527 |
msgstr "NOTAS" |
| 528 |
|
| 529 |
#. type: Plain text |
| 530 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 531 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 532 |
msgid "" |
| 533 |
"Using a statically sized buffer might not provide enough room for the " |
| 534 |
"symbolic link contents. The required size for the buffer can be obtained " |
| 535 |
"from the I<stat.st_size> value returned by a call to B<lstat>(2) on the " |
| 536 |
"link. However, the number of bytes written by B<readlink>() and " |
| 537 |
"B<readlinkat>() should be checked to make sure that the size of the " |
| 538 |
"symbolic link did not increase between the calls. Dynamically allocating " |
| 539 |
"the buffer for B<readlink>() and B<readlinkat>() also addresses a common " |
| 540 |
"portability problem when using B<PATH_MAX> for the buffer size, as this " |
| 541 |
"constant is not guaranteed to be defined per POSIX if the system does not " |
| 542 |
"have such limit." |
| 543 |
msgstr "" |
| 544 |
|
| 545 |
#. type: SH |
| 546 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 547 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 548 |
#, no-wrap |
| 549 |
msgid "EXAMPLES" |
| 550 |
msgstr "EXEMPLOS" |
| 551 |
|
| 552 |
#. type: Plain text |
| 553 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 554 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 555 |
msgid "" |
| 556 |
"The following program allocates the buffer needed by B<readlink>() " |
| 557 |
"dynamically from the information provided by B<lstat>(2), falling back to a " |
| 558 |
"buffer of size B<PATH_MAX> in cases where B<lstat>(2) reports a size of " |
| 559 |
"zero." |
| 560 |
msgstr "" |
| 561 |
|
| 562 |
#. type: Plain text |
| 563 |
#: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1 |
| 564 |
#: opensuse-tumbleweed |
| 565 |
#, no-wrap |
| 566 |
msgid "" |
| 567 |
"#include E<lt>limits.hE<gt>\n" |
| 568 |
"#include E<lt>stdio.hE<gt>\n" |
| 569 |
"#include E<lt>stdlib.hE<gt>\n" |
| 570 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 571 |
"#include E<lt>sys/types.hE<gt>\n" |
| 572 |
"#include E<lt>unistd.hE<gt>\n" |
| 573 |
"\\&\n" |
| 574 |
"int\n" |
| 575 |
"main(int argc, char *argv[])\n" |
| 576 |
"{\n" |
| 577 |
" char *buf;\n" |
| 578 |
" ssize_t nbytes, bufsiz;\n" |
| 579 |
" struct stat sb;\n" |
| 580 |
"\\&\n" |
| 581 |
" if (argc != 2) {\n" |
| 582 |
" fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n" |
| 583 |
" exit(EXIT_FAILURE);\n" |
| 584 |
" }\n" |
| 585 |
"\\&\n" |
| 586 |
" if (lstat(argv[1], &sb) == -1) {\n" |
| 587 |
" perror(\"lstat\");\n" |
| 588 |
" exit(EXIT_FAILURE);\n" |
| 589 |
" }\n" |
| 590 |
"\\&\n" |
| 591 |
" /* Add one to the link size, so that we can determine whether\n" |
| 592 |
" the buffer returned by readlink() was truncated. */\n" |
| 593 |
"\\&\n" |
| 594 |
" bufsiz = sb.st_size + 1;\n" |
| 595 |
"\\&\n" |
| 596 |
" /* Some magic symlinks under (for example) /proc and /sys\n" |
| 597 |
" report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n" |
| 598 |
" a \"good enough\" estimate. */\n" |
| 599 |
"\\&\n" |
| 600 |
" if (sb.st_size == 0)\n" |
| 601 |
" bufsiz = PATH_MAX;\n" |
| 602 |
"\\&\n" |
| 603 |
" buf = malloc(bufsiz);\n" |
| 604 |
" if (buf == NULL) {\n" |
| 605 |
" perror(\"malloc\");\n" |
| 606 |
" exit(EXIT_FAILURE);\n" |
| 607 |
" }\n" |
| 608 |
"\\&\n" |
| 609 |
" nbytes = readlink(argv[1], buf, bufsiz);\n" |
| 610 |
" if (nbytes == -1) {\n" |
| 611 |
" perror(\"readlink\");\n" |
| 612 |
" exit(EXIT_FAILURE);\n" |
| 613 |
" }\n" |
| 614 |
"\\&\n" |
| 615 |
" /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n" |
| 616 |
" null byte (\\[aq]\\[rs]0\\[aq]). */\n" |
| 617 |
" printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n" |
| 618 |
"\\&\n" |
| 619 |
" /* If the return value was equal to the buffer size, then\n" |
| 620 |
" the link target was larger than expected (perhaps because the\n" |
| 621 |
" target was changed between the call to lstat() and the call to\n" |
| 622 |
" readlink()). Warn the user that the returned target may have\n" |
| 623 |
" been truncated. */\n" |
| 624 |
"\\&\n" |
| 625 |
" if (nbytes == bufsiz)\n" |
| 626 |
" printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n" |
| 627 |
"\\&\n" |
| 628 |
" free(buf);\n" |
| 629 |
" exit(EXIT_SUCCESS);\n" |
| 630 |
"}\n" |
| 631 |
msgstr "" |
| 632 |
|
| 633 |
#. SRC END |
| 634 |
#. type: SH |
| 635 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 636 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 637 |
#, no-wrap |
| 638 |
msgid "SEE ALSO" |
| 639 |
msgstr "VEJA TAMBÉM" |
| 640 |
|
| 641 |
#. type: Plain text |
| 642 |
#: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide |
| 643 |
#: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed |
| 644 |
msgid "" |
| 645 |
"B<readlink>(1), B<lstat>(2), B<stat>(2), B<symlink>(2), B<realpath>(3), " |
| 646 |
"B<path_resolution>(7), B<symlink>(7)" |
| 647 |
msgstr "" |
| 648 |
"B<readlink>(1), B<lstat>(2), B<stat>(2), B<symlink>(2), B<realpath>(3), " |
| 649 |
"B<path_resolution>(7), B<symlink>(7)" |
| 650 |
|
| 651 |
#. type: TH |
| 652 |
#: debian-trixie |
| 653 |
#, no-wrap |
| 654 |
msgid "2024-06-15" |
| 655 |
msgstr "15 junho 2024" |
| 656 |
|
| 657 |
#. type: TH |
| 658 |
#: debian-trixie |
| 659 |
#, no-wrap |
| 660 |
msgid "Linux man-pages 6.9.1" |
| 661 |
msgstr "Linux man-pages 6.9.1" |
| 662 |
|
| 663 |
#. type: Plain text |
| 664 |
#: debian-trixie |
| 665 |
msgid "Standard C library (I<libc>, I<-lc>)" |
| 666 |
msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)" |
| 667 |
|
| 668 |
#. type: Plain text |
| 669 |
#: debian-trixie |
| 670 |
#, fuzzy, no-wrap |
| 671 |
#| msgid "B<ssize_t readlink(const char *>I<pathname>B<, char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 672 |
msgid "" |
| 673 |
"B<ssize_t readlink(const char *restrict >I<pathname>B<, char *restrict >I<buf>B<,>\n" |
| 674 |
"B< size_t >I<bufsiz>B<);>\n" |
| 675 |
msgstr "B<ssize_t readlink(const char *>I<pathname>B<, char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 676 |
|
| 677 |
#. type: Plain text |
| 678 |
#: debian-trixie |
| 679 |
#, fuzzy, no-wrap |
| 680 |
#| msgid "" |
| 681 |
#| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 682 |
#| "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 683 |
msgid "" |
| 684 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n" |
| 685 |
"B< char *restrict >I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 686 |
msgstr "" |
| 687 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 688 |
"B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 689 |
|
| 690 |
#. type: Plain text |
| 691 |
#: debian-trixie fedora-44 fedora-rawhide |
| 692 |
#, fuzzy |
| 693 |
#| msgid "" |
| 694 |
#| "B<readlink> places the contents of the symbolic link I<path> in the " |
| 695 |
#| "buffer I<buf>, which has size I<bufsiz>. B<readlink> does not append a " |
| 696 |
#| "B<NUL> character to I<buf>. It will truncate the contents (to a length " |
| 697 |
#| "of I<bufsiz> characters), in case the buffer is too small to hold all of " |
| 698 |
#| "the contents." |
| 699 |
msgid "" |
| 700 |
"B<readlink>() places the contents of the symbolic link I<pathname> in the " |
| 701 |
"buffer I<buf>, which has size I<bufsiz>. B<readlink>() does not append a " |
| 702 |
"terminating null byte to I<buf>. It will (silently) truncate the contents " |
| 703 |
"(to a length of I<bufsiz> characters), in case the buffer is too small to " |
| 704 |
"hold all of the contents." |
| 705 |
msgstr "" |
| 706 |
"B<readlink> coloca o conteúdo de uma ligação simbólica I<path> no buffer " |
| 707 |
"I<buf>, o qual tem o tamanho de I<bufsiz>. B<readlink> não anexa um caracter " |
| 708 |
"B<NUL> para I<buf>. Ele irá truncar o conteúdo (para um tamanho de I<bufsiz> " |
| 709 |
"caracteres), no caso do buffer ser muito pequeno para guardar todo o " |
| 710 |
"conteúdo." |
| 711 |
|
| 712 |
#. type: Plain text |
| 713 |
#: debian-trixie fedora-44 fedora-rawhide |
| 714 |
msgid "" |
| 715 |
"If the pathname given in I<pathname> is relative, then it is interpreted " |
| 716 |
"relative to the directory referred to by the file descriptor I<dirfd> " |
| 717 |
"(rather than relative to the current working directory of the calling " |
| 718 |
"process, as is done by B<readlink>() for a relative pathname)." |
| 719 |
msgstr "" |
| 720 |
|
| 721 |
#. type: Plain text |
| 722 |
#: debian-trixie fedora-44 fedora-rawhide |
| 723 |
msgid "" |
| 724 |
"If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, " |
| 725 |
"then I<pathname> is interpreted relative to the current working directory of " |
| 726 |
"the calling process (like B<readlink>())." |
| 727 |
msgstr "" |
| 728 |
|
| 729 |
#. type: Plain text |
| 730 |
#: debian-trixie fedora-44 fedora-rawhide |
| 731 |
msgid "If I<pathname> is absolute, then I<dirfd> is ignored." |
| 732 |
msgstr "" |
| 733 |
|
| 734 |
#. commit 65cfc6722361570bfe255698d9cd4dccaf47570d |
| 735 |
#. type: Plain text |
| 736 |
#: debian-trixie fedora-44 fedora-rawhide |
| 737 |
msgid "" |
| 738 |
"Since Linux 2.6.39, I<pathname> can be an empty string, in which case the " |
| 739 |
"call operates on the symbolic link referred to by I<dirfd> (which should " |
| 740 |
"have been obtained using B<open>(2) with the B<O_PATH> and B<O_NOFOLLOW> " |
| 741 |
"flags)." |
| 742 |
msgstr "" |
| 743 |
|
| 744 |
#. type: Plain text |
| 745 |
#: debian-trixie fedora-44 fedora-rawhide |
| 746 |
msgid "" |
| 747 |
"(B<readlinkat>()) I<pathname> is relative but I<dirfd> is neither " |
| 748 |
"B<AT_FDCWD> nor a valid file descriptor." |
| 749 |
msgstr "" |
| 750 |
|
| 751 |
#. type: Plain text |
| 752 |
#: debian-trixie fedora-44 fedora-rawhide |
| 753 |
msgid "" |
| 754 |
"The named file (i.e., the final filename component of I<pathname>) is not a " |
| 755 |
"symbolic link." |
| 756 |
msgstr "" |
| 757 |
|
| 758 |
#. type: Plain text |
| 759 |
#: debian-trixie fedora-44 fedora-rawhide |
| 760 |
msgid "" |
| 761 |
"(B<readlinkat>()) I<pathname> is relative and I<dirfd> is a file descriptor " |
| 762 |
"referring to a file other than a directory." |
| 763 |
msgstr "" |
| 764 |
|
| 765 |
#. type: Plain text |
| 766 |
#: debian-trixie fedora-44 fedora-rawhide |
| 767 |
msgid "POSIX.1-2008." |
| 768 |
msgstr "POSIX.1-2008." |
| 769 |
|
| 770 |
#. type: Plain text |
| 771 |
#: debian-trixie fedora-44 fedora-rawhide |
| 772 |
msgid "" |
| 773 |
"On older kernels where B<readlinkat>() is unavailable, the glibc wrapper " |
| 774 |
"function falls back to the use of B<readlink>(). When I<pathname> is a " |
| 775 |
"relative pathname, glibc constructs a pathname based on the symbolic link in " |
| 776 |
"I</proc/self/fd> that corresponds to the I<dirfd> argument." |
| 777 |
msgstr "" |
| 778 |
|
| 779 |
#. type: Plain text |
| 780 |
#: debian-trixie fedora-44 fedora-rawhide |
| 781 |
#, no-wrap |
| 782 |
msgid "" |
| 783 |
"#include E<lt>limits.hE<gt>\n" |
| 784 |
"#include E<lt>stdio.hE<gt>\n" |
| 785 |
"#include E<lt>stdlib.hE<gt>\n" |
| 786 |
"#include E<lt>sys/stat.hE<gt>\n" |
| 787 |
"#include E<lt>sys/types.hE<gt>\n" |
| 788 |
"#include E<lt>unistd.hE<gt>\n" |
| 789 |
"\\&\n" |
| 790 |
"int\n" |
| 791 |
"main(int argc, char *argv[])\n" |
| 792 |
"{\n" |
| 793 |
" char *buf;\n" |
| 794 |
" ssize_t nbytes, bufsiz;\n" |
| 795 |
" struct stat sb;\n" |
| 796 |
"\\&\n" |
| 797 |
" if (argc != 2) {\n" |
| 798 |
" fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n" |
| 799 |
" exit(EXIT_FAILURE);\n" |
| 800 |
" }\n" |
| 801 |
"\\&\n" |
| 802 |
" if (lstat(argv[1], &sb) == -1) {\n" |
| 803 |
" perror(\"lstat\");\n" |
| 804 |
" exit(EXIT_FAILURE);\n" |
| 805 |
" }\n" |
| 806 |
"\\&\n" |
| 807 |
" /* Add one to the link size, so that we can determine whether\n" |
| 808 |
" the buffer returned by readlink() was truncated. */\n" |
| 809 |
"\\&\n" |
| 810 |
" bufsiz = sb.st_size + 1;\n" |
| 811 |
"\\&\n" |
| 812 |
" /* Some magic symlinks under (for example) /proc and /sys\n" |
| 813 |
" report \\[aq]st_size\\[aq] as zero. In that case, take PATH_MAX as\n" |
| 814 |
" a \"good enough\" estimate. */\n" |
| 815 |
"\\&\n" |
| 816 |
" if (sb.st_size == 0)\n" |
| 817 |
" bufsiz = PATH_MAX;\n" |
| 818 |
"\\&\n" |
| 819 |
" buf = malloc(bufsiz);\n" |
| 820 |
" if (buf == NULL) {\n" |
| 821 |
" perror(\"malloc\");\n" |
| 822 |
" exit(EXIT_FAILURE);\n" |
| 823 |
" }\n" |
| 824 |
"\\&\n" |
| 825 |
" nbytes = readlink(argv[1], buf, bufsiz);\n" |
| 826 |
" if (nbytes == -1) {\n" |
| 827 |
" perror(\"readlink\");\n" |
| 828 |
" exit(EXIT_FAILURE);\n" |
| 829 |
" }\n" |
| 830 |
"\\&\n" |
| 831 |
" /* Print only \\[aq]nbytes\\[aq] of \\[aq]buf\\[aq], as it doesn't contain a terminating\n" |
| 832 |
" null byte (\\[aq]\\[rs]0\\[aq]). */\n" |
| 833 |
" printf(\"\\[aq]%s\\[aq] points to \\[aq]%.*s\\[aq]\\[rs]n\", argv[1], (int) nbytes, buf);\n" |
| 834 |
"\\&\n" |
| 835 |
" /* If the return value was equal to the buffer size, then\n" |
| 836 |
" the link target was larger than expected (perhaps because the\n" |
| 837 |
" target was changed between the call to lstat() and the call to\n" |
| 838 |
" readlink()). Warn the user that the returned target may have\n" |
| 839 |
" been truncated. */\n" |
| 840 |
"\\&\n" |
| 841 |
" if (nbytes == bufsiz)\n" |
| 842 |
" printf(\"(Returned buffer may have been truncated)\\[rs]n\");\n" |
| 843 |
"\\&\n" |
| 844 |
" free(buf);\n" |
| 845 |
" exit(EXIT_SUCCESS);\n" |
| 846 |
"}\n" |
| 847 |
msgstr "" |
| 848 |
|
| 849 |
#. type: TH |
| 850 |
#: fedora-44 fedora-rawhide |
| 851 |
#, no-wrap |
| 852 |
msgid "2024-11-28" |
| 853 |
msgstr "28 novembro 2024" |
| 854 |
|
| 855 |
#. type: TH |
| 856 |
#: fedora-44 fedora-rawhide |
| 857 |
#, no-wrap |
| 858 |
msgid "Linux man-pages 6.13" |
| 859 |
msgstr "Linux man-pages 6.13" |
| 860 |
|
| 861 |
#. type: Plain text |
| 862 |
#: fedora-44 fedora-rawhide |
| 863 |
#, fuzzy, no-wrap |
| 864 |
#| msgid "" |
| 865 |
#| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 866 |
#| "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 867 |
msgid "" |
| 868 |
"B<ssize_t readlink(const char *restrict >I<pathname>B<,>\n" |
| 869 |
"B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n" |
| 870 |
msgstr "" |
| 871 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 872 |
"B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 873 |
|
| 874 |
#. type: Plain text |
| 875 |
#: fedora-44 fedora-rawhide |
| 876 |
#, fuzzy, no-wrap |
| 877 |
#| msgid "" |
| 878 |
#| "B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 879 |
#| "B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 880 |
msgid "" |
| 881 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n" |
| 882 |
"B< char >I<buf>B<[restrict .>I<bufsiz>B<], size_t >I<bufsiz>B<);>\n" |
| 883 |
msgstr "" |
| 884 |
"B<ssize_t readlinkat(int >I<dirfd>B<, const char *>I<pathname>B<,>\n" |
| 885 |
"B< char *>I<buf>B<, size_t >I<bufsiz>B<);>\n" |
| 886 |
|
| 887 |
#. type: TH |
| 888 |
#: mageia-cauldron |
| 889 |
#, no-wrap |
| 890 |
msgid "Linux man-pages 6.17" |
| 891 |
msgstr "Linux man-pages 6.17" |
| 892 |
|
| 893 |
#. type: TH |
| 894 |
#: opensuse-leap-16-1 opensuse-tumbleweed |
| 895 |
#, no-wrap |
| 896 |
msgid "Linux man-pages (unreleased)" |
| 897 |
msgstr "Linux man-pages (não lançado)" |