Debian Codegraph @

po/pt_BR/man2/stat.2.po

raw
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 # Orlando V. de Castro Jr. <[email protected]>, 2001.
5 # André Luiz Fassone <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
10 "PO-Revision-Date: 2001-06-02 19:20-0300\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
19 "X-Generator: Virtaal 1.0.0-beta1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "stat"
26 msgstr "stat"
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 "stat, fstat, lstat, fstatat - get file status"
53 msgstr "stat, fstat, lstat, fstatat - retorna estatísticas do arquivo"
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>sys/stat.hE<gt>>\n"
80 msgstr "B<#include E<lt>sys/stat.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<int stat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
88 #| "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
89 #| "B<int lstat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
90 msgid ""
91 "B<int stat(const char *restrict >I<path>B<,>\n"
92 "B< struct stat *restrict >I<statbuf>B<);>\n"
93 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
94 "B<int lstat(const char *restrict >I<path>B<,>\n"
95 "B< struct stat *restrict >I<statbuf>B<);>\n"
96 msgstr ""
97 "B<int stat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
98 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
99 "B<int lstat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, fuzzy, no-wrap
105 #| msgid ""
106 #| "B<#include E<lt>stdio.hE<gt>>\n"
107 #| "B<#include E<lt>wchar.hE<gt>>\n"
108 msgid ""
109 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
110 "B<#include E<lt>sys/stat.hE<gt>>\n"
111 msgstr ""
112 "B<#include E<lt>stdio.hE<gt>>\n"
113 "B<#include E<lt>wchar.hE<gt>>\n"
114
115 #. type: Plain text
116 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
117 #: opensuse-tumbleweed
118 #, fuzzy, no-wrap
119 #| msgid ""
120 #| "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<statbuf>B<,>\n"
121 #| "B< int >I<flags>B<);>\n"
122 msgid ""
123 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
124 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
125 msgstr ""
126 "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<statbuf>B<,>\n"
127 "B< int >I<flags>B<);>\n"
128
129 #. type: Plain text
130 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
131 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
132 msgid ""
133 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
134 msgstr ""
135 "Requisitos de macro de teste de recursos para o glibc (consulte "
136 "B<feature_test_macros>(7)):"
137
138 #. type: Plain text
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 msgid "B<lstat>():"
142 msgstr "B<lstat>():"
143
144 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, fuzzy, no-wrap
149 #| msgid ""
150 #| " Since glibc 2.21:\n"
151 #| " _DEFAULT_SOURCE\n"
152 #| " In glibc 2.19 and 2.20:\n"
153 #| " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n"
154 #| " Up to and including glibc 2.19:\n"
155 #| " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n"
156 msgid ""
157 " /* Since glibc 2.20 */ _DEFAULT_SOURCE\n"
158 " || _XOPEN_SOURCE E<gt>= 500\n"
159 " || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
160 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
161 msgstr ""
162 " Desde o glibc 2.21:\n"
163 " _DEFAULT_SOURCE\n"
164 " No glibc 2.19 e 2.20:\n"
165 " _DEFAULT_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n"
166 " Até e incluindo o glibc 2.19:\n"
167 " _BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\\ E<lt>\\ 500)\n"
168
169 #. type: Plain text
170 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
171 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
172 msgid "B<fstatat>():"
173 msgstr "B<fstatat>():"
174
175 #. type: Plain text
176 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
177 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
178 #, no-wrap
179 msgid ""
180 " Since glibc 2.10:\n"
181 " _POSIX_C_SOURCE E<gt>= 200809L\n"
182 " Before glibc 2.10:\n"
183 " _ATFILE_SOURCE\n"
184 msgstr ""
185 " Desde o glibc 2.10:\n"
186 " _POSIX_C_SOURCE E<gt>= 200809L\n"
187 " Antes da glibc 2.10:\n"
188 " _ATFILE_SOURCE\n"
189
190 #. type: SH
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "DESCRIPTION"
195 msgstr "DESCRIÇÃO"
196
197 #. type: Plain text
198 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
199 #: opensuse-tumbleweed
200 msgid ""
201 "These functions return information about a file, in the buffer pointed to by "
202 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
203 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
204 "permission is required on all of the directories in I<path> that lead to the "
205 "file."
206 msgstr ""
207
208 #. type: Plain text
209 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
210 #: opensuse-tumbleweed
211 msgid ""
212 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
213 "by I<path>; the differences for B<fstatat>() are described below."
214 msgstr ""
215
216 #. type: Plain text
217 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
218 #: opensuse-tumbleweed
219 #, fuzzy
220 #| msgid ""
221 #| "B<lstat> is identical to B<stat>, except in the case of a symbolic link, "
222 #| "where the link itself is stat-ed, not the file that it refers to."
223 msgid ""
224 "B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic "
225 "link, then it returns information about the link itself, not the file that "
226 "the link refers to."
227 msgstr ""
228 "B<lstat> é idêntico a B<stat>, exceto no caso de uma ligação simbólica, e "
229 "não o arquivo que é obtido seguindo as ligações simbólicas."
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 #, fuzzy
235 #| msgid ""
236 #| "B<lstat> is identical to B<stat>, except in the case of a symbolic link, "
237 #| "where the link itself is stat-ed, not the file that it refers to."
238 msgid ""
239 "B<fstat>() is identical to B<stat>(), except that the file about which "
240 "information is to be retrieved is specified by the file descriptor I<fd>."
241 msgstr ""
242 "B<lstat> é idêntico a B<stat>, exceto no caso de uma ligação simbólica, e "
243 "não o arquivo que é obtido seguindo as ligações simbólicas."
244
245 #. type: SS
246 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
247 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
248 #, no-wrap
249 msgid "The stat structure"
250 msgstr ""
251
252 #. type: Plain text
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, fuzzy
256 #| msgid ""
257 #| "They all return a I<stat> structure, which contains the following fields:"
258 msgid ""
259 "All of these system calls return a I<stat> structure (see B<stat>(3type))."
260 msgstr ""
261 "Todos eles retornan uma estrutura I<stat>, que contém os seguintes campos:"
262
263 #. Background: inode attributes are modified with i_mutex held, but
264 #. read by stat() without taking the mutex.
265 #. type: Plain text
266 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
267 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
268 msgid ""
269 "I<Note>: for performance and simplicity reasons, different fields in the "
270 "I<stat> structure may contain state information from different moments "
271 "during the execution of the system call. For example, if I<st_mode> or "
272 "I<st_uid> is changed by another process by calling B<chmod>(2) or "
273 "B<chown>(2), B<stat>() might return the old I<st_mode> together with the "
274 "new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>."
275 msgstr ""
276
277 #. type: SS
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "fstatat()"
282 msgstr "fstatat()"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "The B<fstatat>() system call is a more general interface for accessing file "
289 "information which can still provide exactly the behavior of each of "
290 "B<stat>(), B<lstat>(), and B<fstat>()."
291 msgstr ""
292
293 #. type: Plain text
294 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
295 #: opensuse-tumbleweed
296 msgid ""
297 "If I<path> is relative, then it is interpreted relative to the directory "
298 "referred to by the file descriptor I<dirfd> (rather than relative to the "
299 "current working directory of the calling process, as is done by B<stat>() "
300 "and B<lstat>() for a relative pathname)."
301 msgstr ""
302
303 #. type: Plain text
304 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
305 #: opensuse-tumbleweed
306 msgid ""
307 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
308 "I<path> is interpreted relative to the current working directory of the "
309 "calling process (like B<stat>() and B<lstat>())."
310 msgstr ""
311
312 #. type: Plain text
313 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
314 #: opensuse-tumbleweed
315 msgid "If I<path> is absolute, then I<dirfd> is ignored."
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid ""
322 "I<flags> can either be 0, or include one or more of the following flags ORed:"
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<AT_EMPTY_PATH> (since Linux 2.6.39)"
330 msgstr "B<AT_EMPTY_PATH> (desde o Linux 2.6.39)"
331
332 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
333 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
334 #. type: Plain text
335 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
336 #: opensuse-tumbleweed
337 msgid ""
338 "If I<path> is an empty string (or NULL, since Linux 6.11) operate on the "
339 "file referred to by I<dirfd> (which may have been obtained using the "
340 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
341 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
342 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
343 "current working directory. This flag is Linux-specific; define "
344 "B<_GNU_SOURCE> to obtain its definition."
345 msgstr ""
346
347 #. type: TP
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 #, no-wrap
351 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
352 msgstr "B<AT_NO_AUTOMOUNT> (desde o Linux 2.6.38)"
353
354 #. type: Plain text
355 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
356 #: opensuse-tumbleweed
357 msgid ""
358 "Don't automount the terminal (\"basename\") component of I<path.> Since "
359 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
360 msgstr ""
361
362 #. type: TP
363 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
364 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
365 #, no-wrap
366 msgid "B<AT_SYMLINK_NOFOLLOW>"
367 msgstr "B<AT_SYMLINK_NOFOLLOW>"
368
369 #. type: Plain text
370 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
371 #: opensuse-tumbleweed
372 msgid ""
373 "If I<path> is a symbolic link, do not dereference it: instead return "
374 "information about the link itself, like B<lstat>(). (By default, "
375 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
382 msgstr ""
383
384 #. type: SH
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "RETURN VALUE"
389 msgstr "VALOR DE RETORNO"
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid ""
395 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
396 "to indicate the error."
397 msgstr ""
398 "Em caso de sucesso, zero é retornado. Em caso de erro, -1 é retornado, e "
399 "I<errno> é definido para indicar o erro."
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 "ERRORS"
406 msgstr "ERROS"
407
408 #. type: TP
409 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
410 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
411 #, no-wrap
412 msgid "B<EACCES>"
413 msgstr "B<EACCES>"
414
415 #. type: Plain text
416 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
417 #: opensuse-tumbleweed
418 #, fuzzy
419 #| msgid ""
420 #| "Search permission is denied on a component of the path prefix. (See also "
421 #| "B<path_resolution>(7).)"
422 msgid ""
423 "Search permission is denied for one of the directories in the path prefix of "
424 "I<path>. (See also B<path_resolution>(7).)"
425 msgstr ""
426 "Permissão de procura negada em um componente do prefixo do caminho. (Veja "
427 "também B<path_resolution>(7).)"
428
429 #. type: TP
430 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
431 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
432 #, no-wrap
433 msgid "B<EBADF>"
434 msgstr "B<EBADF>"
435
436 #. type: Plain text
437 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
438 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
439 #, fuzzy
440 #| msgid "I<fd> is not a valid file descriptor."
441 msgid "I<fd> is not a valid open file descriptor."
442 msgstr "I<fd> não é válido como descritor de arquivos."
443
444 #. type: Plain text
445 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
446 #: opensuse-tumbleweed
447 msgid ""
448 "(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
449 "a valid file descriptor."
450 msgstr ""
451
452 #. type: TP
453 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
454 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
455 #, no-wrap
456 msgid "B<EFAULT>"
457 msgstr "B<EFAULT>"
458
459 #. type: Plain text
460 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
461 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
462 msgid "Bad address."
463 msgstr "Endereço inválido."
464
465 #. type: TP
466 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
467 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
468 #, no-wrap
469 msgid "B<EINVAL>"
470 msgstr "B<EINVAL>"
471
472 #. type: Plain text
473 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
474 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
475 msgid "(B<fstatat>()) Invalid flag specified in I<flags>."
476 msgstr ""
477
478 #. type: TP
479 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
480 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
481 #, no-wrap
482 msgid "B<ELOOP>"
483 msgstr "B<ELOOP>"
484
485 #. type: Plain text
486 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
487 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
488 msgid "Too many symbolic links encountered while traversing the path."
489 msgstr "Foram encontrados muitos links simbólicos enquanto cruzava o caminho."
490
491 #. type: TP
492 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
493 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
494 #, no-wrap
495 msgid "B<ENAMETOOLONG>"
496 msgstr "B<ENAMETOOLONG>"
497
498 #. type: Plain text
499 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
500 #: opensuse-tumbleweed
501 msgid "I<path> is too long."
502 msgstr "I<caminho> é muito longo."
503
504 #. type: TP
505 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
506 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
507 #, no-wrap
508 msgid "B<ENOENT>"
509 msgstr "B<ENOENT>"
510
511 #. type: Plain text
512 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
513 #: opensuse-tumbleweed
514 #, fuzzy
515 #| msgid ""
516 #| "A directory component in I<pathname> does not exist or is a dangling "
517 #| "symbolic link."
518 msgid "A component of I<path> does not exist or is a dangling symbolic link."
519 msgstr ""
520 "Um componente de diretório em I<pathname> não existe ou é um link simbólico "
521 "pendurado."
522
523 #. type: Plain text
524 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
525 #: opensuse-tumbleweed
526 msgid ""
527 "I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in "
528 "I<flags>."
529 msgstr ""
530
531 #. type: TP
532 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
533 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
534 #, no-wrap
535 msgid "B<ENOMEM>"
536 msgstr "B<ENOMEM>"
537
538 #. type: Plain text
539 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
540 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
541 msgid "Out of memory (i.e., kernel memory)."
542 msgstr "Fora de memoria (isto é, memória de kernel)."
543
544 #. type: TP
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 #, no-wrap
548 msgid "B<ENOTDIR>"
549 msgstr "B<ENOTDIR>"
550
551 #. type: Plain text
552 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
553 #: opensuse-tumbleweed
554 #, fuzzy
555 #| msgid "A component of the path is not a directory."
556 msgid "A component of the path prefix of I<path> is not a directory."
557 msgstr "Um componente do caminho não é um diretório."
558
559 #. type: Plain text
560 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
561 #: opensuse-tumbleweed
562 msgid ""
563 "(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor "
564 "referring to a file other than a directory."
565 msgstr ""
566
567 #. type: TP
568 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
569 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
570 #, no-wrap
571 msgid "B<EOVERFLOW>"
572 msgstr "B<EOVERFLOW>"
573
574 #. type: Plain text
575 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
576 #: opensuse-tumbleweed
577 msgid ""
578 "I<path> or I<fd> refers to a file whose size, inode number, or number of "
579 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
580 "or I<blkcnt_t>. This error can occur when, for example, an application "
581 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
582 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
583 msgstr ""
584
585 #. type: SH
586 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
587 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
588 #, no-wrap
589 msgid "STANDARDS"
590 msgstr "PADRÕES"
591
592 #. type: Plain text
593 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
594 #: opensuse-tumbleweed
595 msgid "POSIX.1-2024."
596 msgstr "POSIX.1-2024."
597
598 #. type: SH
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 #, no-wrap
602 msgid "HISTORY"
603 msgstr "HISTÓRICO"
604
605 #. type: TP
606 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
607 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
608 #, fuzzy, no-wrap
609 #| msgid "B<lstat>():"
610 msgid "B<stat>()"
611 msgstr "B<lstat>():"
612
613 #. type: TQ
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 #, fuzzy, no-wrap
617 #| msgid "B<fstat>(2)"
618 msgid "B<fstat>()"
619 msgstr "B<fstat>(2)"
620
621 #. type: TQ
622 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
623 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
624 #, fuzzy, no-wrap
625 #| msgid "B<lstat>():"
626 msgid "B<lstat>()"
627 msgstr "B<lstat>():"
628
629 #. SVr4 documents additional
630 #. .BR fstat ()
631 #. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4
632 #. documents additional
633 #. .BR stat ()
634 #. and
635 #. .BR lstat ()
636 #. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
637 #. type: Plain text
638 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
639 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
640 msgid "SVr4, 4.3BSD, POSIX.1-2001."
641 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
642
643 #. type: TP
644 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
645 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
646 #, fuzzy, no-wrap
647 #| msgid "B<fstatat>():"
648 msgid "B<fstatat>()"
649 msgstr "B<fstatat>():"
650
651 #. type: Plain text
652 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
653 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
654 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
655 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
656
657 #. type: Plain text
658 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
659 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
660 msgid ""
661 "According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
662 "information only in the I<st_size> field and the file type of the I<st_mode> "
663 "field of the I<stat> structure. POSIX.1-2008 tightens the specification, "
664 "requiring B<lstat>() to return valid information in all fields except the "
665 "mode bits in I<st_mode>."
666 msgstr ""
667
668 #. type: Plain text
669 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
670 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
671 msgid ""
672 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
673 "(They were introduced in BSD. The interpretation differs between systems, "
674 "and possibly on a single system when NFS mounts are involved.)"
675 msgstr ""
676
677 #. type: SS
678 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
679 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
680 #, no-wrap
681 msgid "C library/kernel differences"
682 msgstr "Diferenças entre kernel/biblioteca C"
683
684 #. See include/asm-i386/stat.h in the Linux 2.4 source code for the
685 #. various versions of the structure definitions
686 #. type: Plain text
687 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
688 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
689 msgid ""
690 "Over time, increases in the size of the I<stat> structure have led to three "
691 "successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
692 "I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot "
693 "I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions "
694 "were already present in Linux 1.0 (albeit with different names); the last "
695 "was added in Linux 2.4. Similar remarks apply for B<fstat>() and "
696 "B<lstat>()."
697 msgstr ""
698
699 #. type: Plain text
700 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
701 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
702 msgid ""
703 "The kernel-internal versions of the I<stat> structure dealt with by the "
704 "different versions are, respectively:"
705 msgstr ""
706
707 #. type: TP
708 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
709 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
710 #, no-wrap
711 msgid "I<__old_kernel_stat>"
712 msgstr "I<__old_kernel_stat>"
713
714 #. type: Plain text
715 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
716 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
717 msgid "The original structure, with rather narrow fields, and no padding."
718 msgstr ""
719
720 #. type: TP
721 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
722 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
723 #, no-wrap
724 msgid "I<stat>"
725 msgstr "I<stat>"
726
727 #. type: Plain text
728 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
729 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
730 msgid ""
731 "Larger I<st_ino> field and padding added to various parts of the structure "
732 "to allow for future expansion."
733 msgstr ""
734
735 #. type: TP
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 #, no-wrap
739 msgid "I<stat64>"
740 msgstr "I<stat64>"
741
742 #. type: Plain text
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 msgid ""
746 "Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to "
747 "accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various "
748 "other enlarged fields and further padding in the structure. (Various "
749 "padding bytes were eventually consumed in Linux 2.6, with the advent of 32-"
750 "bit device IDs and nanosecond components for the timestamp fields.)"
751 msgstr ""
752
753 #
754 #
755 #
756 #
757 #
758 #
759 #. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
760 #. A note from Andries Brouwer, July 2007
761 #. > Is the story not rather more complicated for some calls like
762 #. > stat(2)?
763 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
764 #. The idea is here not so much that syscalls change, but that
765 #. the definitions of struct stat and of the types dev_t and mode_t change.
766 #. This means that libc (even if it does not call the kernel
767 #. but only calls some internal function) must know what the
768 #. format of dev_t or of struct stat is.
769 #. The communication between the application and libc goes via
770 #. the include file <sys/stat.h> that defines a _STAT_VER and
771 #. _MKNOD_VER describing the layout of the data that user space
772 #. uses. Each (almost each) occurrence of stat() is replaced by
773 #. an occurrence of xstat() where the first parameter of xstat()
774 #. is this version number _STAT_VER.
775 #. Now, also the definitions used by the kernel change.
776 #. But glibc copes with this in the standard way, and the
777 #. struct stat as returned by the kernel is repacked into
778 #. the struct stat as expected by the application.
779 #. Thus, _STAT_VER and this setup cater for the application-libc
780 #. interface, rather than the libc-kernel interface.
781 #. (Note that the details depend on gcc being used as c compiler.)
782 #. type: Plain text
783 #. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
784 #. A note from Andries Brouwer, July 2007
785 #. > Is the story not rather more complicated for some calls like
786 #. > stat(2)?
787 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
788 #. The idea is here not so much that syscalls change, but that
789 #. the definitions of struct stat and of the types dev_t and mode_t change.
790 #. This means that libc (even if it does not call the kernel
791 #. but only calls some internal function) must know what the
792 #. format of dev_t or of struct stat is.
793 #. The communication between the application and libc goes via
794 #. the include file <sys/stat.h> that defines a _STAT_VER and
795 #. _MKNOD_VER describing the layout of the data that user space
796 #. uses. Each (almost each) occurrence of stat() is replaced by
797 #. an occurrence of xstat() where the first parameter of xstat()
798 #. is this version number _STAT_VER.
799 #. Now, also the definitions used by the kernel change.
800 #. But glibc copes with this in the standard way, and the
801 #. struct stat as returned by the kernel is repacked into
802 #. the struct stat as expected by the application.
803 #. Thus, _STAT_VER and this setup cater for the application-libc
804 #. interface, rather than the libc-kernel interface.
805 #. (Note that the details depend on gcc being used as c compiler.)
806 #. type: Plain text
807 #. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
808 #. A note from Andries Brouwer, July 2007
809 #. > Is the story not rather more complicated for some calls like
810 #. > stat(2)?
811 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
812 #. The idea is here not so much that syscalls change, but that
813 #. the definitions of struct stat and of the types dev_t and mode_t change.
814 #. This means that libc (even if it does not call the kernel
815 #. but only calls some internal function) must know what the
816 #. format of dev_t or of struct stat is.
817 #. The communication between the application and libc goes via
818 #. the include file <sys/stat.h> that defines a _STAT_VER and
819 #. _MKNOD_VER describing the layout of the data that user space
820 #. uses. Each (almost each) occurrence of stat() is replaced by
821 #. an occurrence of xstat() where the first parameter of xstat()
822 #. is this version number _STAT_VER.
823 #. Now, also the definitions used by the kernel change.
824 #. But glibc copes with this in the standard way, and the
825 #. struct stat as returned by the kernel is repacked into
826 #. the struct stat as expected by the application.
827 #. Thus, _STAT_VER and this setup cater for the application-libc
828 #. interface, rather than the libc-kernel interface.
829 #. (Note that the details depend on gcc being used as c compiler.)
830 #. type: Plain text
831 #. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
832 #. A note from Andries Brouwer, July 2007
833 #. > Is the story not rather more complicated for some calls like
834 #. > stat(2)?
835 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
836 #. The idea is here not so much that syscalls change, but that
837 #. the definitions of struct stat and of the types dev_t and mode_t change.
838 #. This means that libc (even if it does not call the kernel
839 #. but only calls some internal function) must know what the
840 #. format of dev_t or of struct stat is.
841 #. The communication between the application and libc goes via
842 #. the include file <sys/stat.h> that defines a _STAT_VER and
843 #. _MKNOD_VER describing the layout of the data that user space
844 #. uses. Each (almost each) occurrence of stat() is replaced by
845 #. an occurrence of xstat() where the first parameter of xstat()
846 #. is this version number _STAT_VER.
847 #. Now, also the definitions used by the kernel change.
848 #. But glibc copes with this in the standard way, and the
849 #. struct stat as returned by the kernel is repacked into
850 #. the struct stat as expected by the application.
851 #. Thus, _STAT_VER and this setup cater for the application-libc
852 #. interface, rather than the libc-kernel interface.
853 #. (Note that the details depend on gcc being used as c compiler.)
854 #. type: Plain text
855 #. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
856 #. A note from Andries Brouwer, July 2007
857 #. > Is the story not rather more complicated for some calls like
858 #. > stat(2)?
859 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
860 #. The idea is here not so much that syscalls change, but that
861 #. the definitions of struct stat and of the types dev_t and mode_t change.
862 #. This means that libc (even if it does not call the kernel
863 #. but only calls some internal function) must know what the
864 #. format of dev_t or of struct stat is.
865 #. The communication between the application and libc goes via
866 #. the include file <sys/stat.h> that defines a _STAT_VER and
867 #. _MKNOD_VER describing the layout of the data that user space
868 #. uses. Each (almost each) occurrence of stat() is replaced by
869 #. an occurrence of xstat() where the first parameter of xstat()
870 #. is this version number _STAT_VER.
871 #. Now, also the definitions used by the kernel change.
872 #. But glibc copes with this in the standard way, and the
873 #. struct stat as returned by the kernel is repacked into
874 #. the struct stat as expected by the application.
875 #. Thus, _STAT_VER and this setup cater for the application-libc
876 #. interface, rather than the libc-kernel interface.
877 #. (Note that the details depend on gcc being used as c compiler.)
878 #. type: Plain text
879 #. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
880 #. A note from Andries Brouwer, July 2007
881 #. > Is the story not rather more complicated for some calls like
882 #. > stat(2)?
883 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
884 #. The idea is here not so much that syscalls change, but that
885 #. the definitions of struct stat and of the types dev_t and mode_t change.
886 #. This means that libc (even if it does not call the kernel
887 #. but only calls some internal function) must know what the
888 #. format of dev_t or of struct stat is.
889 #. The communication between the application and libc goes via
890 #. the include file <sys/stat.h> that defines a _STAT_VER and
891 #. _MKNOD_VER describing the layout of the data that user space
892 #. uses. Each (almost each) occurrence of stat() is replaced by
893 #. an occurrence of xstat() where the first parameter of xstat()
894 #. is this version number _STAT_VER.
895 #. Now, also the definitions used by the kernel change.
896 #. But glibc copes with this in the standard way, and the
897 #. struct stat as returned by the kernel is repacked into
898 #. the struct stat as expected by the application.
899 #. Thus, _STAT_VER and this setup cater for the application-libc
900 #. interface, rather than the libc-kernel interface.
901 #. (Note that the details depend on gcc being used as c compiler.)
902 #. type: Plain text
903 #. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
904 #. A note from Andries Brouwer, July 2007
905 #. > Is the story not rather more complicated for some calls like
906 #. > stat(2)?
907 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
908 #. The idea is here not so much that syscalls change, but that
909 #. the definitions of struct stat and of the types dev_t and mode_t change.
910 #. This means that libc (even if it does not call the kernel
911 #. but only calls some internal function) must know what the
912 #. format of dev_t or of struct stat is.
913 #. The communication between the application and libc goes via
914 #. the include file <sys/stat.h> that defines a _STAT_VER and
915 #. _MKNOD_VER describing the layout of the data that user space
916 #. uses. Each (almost each) occurrence of stat() is replaced by
917 #. an occurrence of xstat() where the first parameter of xstat()
918 #. is this version number _STAT_VER.
919 #. Now, also the definitions used by the kernel change.
920 #. But glibc copes with this in the standard way, and the
921 #. struct stat as returned by the kernel is repacked into
922 #. the struct stat as expected by the application.
923 #. Thus, _STAT_VER and this setup cater for the application-libc
924 #. interface, rather than the libc-kernel interface.
925 #. (Note that the details depend on gcc being used as c compiler.)
926 #. type: Plain text
927 #. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
928 #. A note from Andries Brouwer, July 2007
929 #. > Is the story not rather more complicated for some calls like
930 #. > stat(2)?
931 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
932 #. The idea is here not so much that syscalls change, but that
933 #. the definitions of struct stat and of the types dev_t and mode_t change.
934 #. This means that libc (even if it does not call the kernel
935 #. but only calls some internal function) must know what the
936 #. format of dev_t or of struct stat is.
937 #. The communication between the application and libc goes via
938 #. the include file <sys/stat.h> that defines a _STAT_VER and
939 #. _MKNOD_VER describing the layout of the data that user space
940 #. uses. Each (almost each) occurrence of stat() is replaced by
941 #. an occurrence of xstat() where the first parameter of xstat()
942 #. is this version number _STAT_VER.
943 #. Now, also the definitions used by the kernel change.
944 #. But glibc copes with this in the standard way, and the
945 #. struct stat as returned by the kernel is repacked into
946 #. the struct stat as expected by the application.
947 #. Thus, _STAT_VER and this setup cater for the application-libc
948 #. interface, rather than the libc-kernel interface.
949 #. (Note that the details depend on gcc being used as c compiler.)
950 #. type: Plain text
951 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
952 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
953 msgid ""
954 "The glibc B<stat>() wrapper function hides these details from applications, "
955 "invoking the most recent version of the system call provided by the kernel, "
956 "and repacking the returned information if required for old binaries."
957 msgstr ""
958
959 #. type: Plain text
960 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
961 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
962 msgid ""
963 "On modern 64-bit systems, life is simpler: there is a single B<stat>() "
964 "system call and the kernel deals with a I<stat> structure that contains "
965 "fields of a sufficient size."
966 msgstr ""
967
968 #. strace(1) shows the name "newfstatat" on x86-64
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 msgid ""
973 "The underlying system call employed by the glibc B<fstatat>() wrapper "
974 "function is actually called B<fstatat64>() or, on some architectures, "
975 "B<newfstatat>()."
976 msgstr ""
977
978 #. type: SH
979 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
980 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
981 #, no-wrap
982 msgid "EXAMPLES"
983 msgstr "EXEMPLOS"
984
985 #. type: Plain text
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 msgid ""
989 "The following program calls B<lstat>() and displays selected fields in the "
990 "returned I<stat> structure."
991 msgstr ""
992
993 #. type: Plain text
994 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
995 #: opensuse-tumbleweed
996 #, no-wrap
997 msgid ""
998 "#include E<lt>stdint.hE<gt>\n"
999 "#include E<lt>stdio.hE<gt>\n"
1000 "#include E<lt>stdlib.hE<gt>\n"
1001 "#include E<lt>sys/stat.hE<gt>\n"
1002 "#include E<lt>sys/sysmacros.hE<gt>\n"
1003 "#include E<lt>time.hE<gt>\n"
1004 "\\&\n"
1005 "int\n"
1006 "main(int argc, char *argv[])\n"
1007 "{\n"
1008 " struct stat sb;\n"
1009 "\\&\n"
1010 " if (argc != 2) {\n"
1011 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
1012 " exit(EXIT_FAILURE);\n"
1013 " }\n"
1014 "\\&\n"
1015 " if (lstat(argv[1], &sb) == -1) {\n"
1016 " perror(\"lstat\");\n"
1017 " exit(EXIT_FAILURE);\n"
1018 " }\n"
1019 "\\&\n"
1020 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1021 " major(sb.st_dev),\n"
1022 " minor(sb.st_dev));\n"
1023 "\\&\n"
1024 " printf(\"File type: \");\n"
1025 "\\&\n"
1026 " switch (sb.st_mode & S_IFMT) {\n"
1027 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1028 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1029 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1030 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1031 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1032 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1033 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1034 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1035 " }\n"
1036 "\\&\n"
1037 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1038 "\\&\n"
1039 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1040 " (uintmax_t) sb.st_mode);\n"
1041 "\\&\n"
1042 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1043 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1044 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1045 "\\&\n"
1046 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1047 " (intmax_t) sb.st_blksize);\n"
1048 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1049 " (intmax_t) sb.st_size);\n"
1050 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1051 " (intmax_t) sb.st_blocks);\n"
1052 "\\&\n"
1053 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1054 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1055 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1056 "\\&\n"
1057 " exit(EXIT_SUCCESS);\n"
1058 "}\n"
1059 msgstr ""
1060
1061 #. SRC END
1062 #. type: SH
1063 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1064 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1065 #, no-wrap
1066 msgid "SEE ALSO"
1067 msgstr "VEJA TAMBÉM"
1068
1069 #. type: Plain text
1070 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1071 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1072 #, fuzzy
1073 #| msgid ""
1074 #| "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1075 #| "B<readlink>(2), B<statx>(2), B<utime>(2), B<capabilities>(7), "
1076 #| "B<inode>(7), B<symlink>(7)"
1077 msgid ""
1078 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1079 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1080 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1081 msgstr ""
1082 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1083 "B<readlink>(2), B<statx>(2), B<utime>(2), B<capabilities>(7), B<inode>(7), "
1084 "B<symlink>(7)"
1085
1086 #. type: TH
1087 #: debian-trixie
1088 #, no-wrap
1089 msgid "2024-06-15"
1090 msgstr "15 junho 2024"
1091
1092 #. type: TH
1093 #: debian-trixie
1094 #, no-wrap
1095 msgid "Linux man-pages 6.9.1"
1096 msgstr "Linux man-pages 6.9.1"
1097
1098 #. type: Plain text
1099 #: debian-trixie
1100 msgid "Standard C library (I<libc>, I<-lc>)"
1101 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
1102
1103 #. type: Plain text
1104 #: debian-trixie fedora-44 fedora-rawhide
1105 #, fuzzy, no-wrap
1106 #| msgid ""
1107 #| "B<int stat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
1108 #| "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1109 #| "B<int lstat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
1110 msgid ""
1111 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1112 "B< struct stat *restrict >I<statbuf>B<);>\n"
1113 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1114 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1115 "B< struct stat *restrict >I<statbuf>B<);>\n"
1116 msgstr ""
1117 "B<int stat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
1118 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1119 "B<int lstat(const char *>I<pathname>B<, struct stat *>I<statbuf>B<);>\n"
1120
1121 #. type: Plain text
1122 #: debian-trixie fedora-44 fedora-rawhide
1123 #, fuzzy, no-wrap
1124 #| msgid ""
1125 #| "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<statbuf>B<,>\n"
1126 #| "B< int >I<flags>B<);>\n"
1127 msgid ""
1128 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1129 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1130 msgstr ""
1131 "B<int fstatat(int >I<dirfd>B<, const char *>I<pathname>B<, struct stat *>I<statbuf>B<,>\n"
1132 "B< int >I<flags>B<);>\n"
1133
1134 #. type: Plain text
1135 #: debian-trixie fedora-44 fedora-rawhide
1136 msgid ""
1137 "These functions return information about a file, in the buffer pointed to by "
1138 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
1139 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
1140 "permission is required on all of the directories in I<pathname> that lead to "
1141 "the file."
1142 msgstr ""
1143
1144 #. type: Plain text
1145 #: debian-trixie fedora-44 fedora-rawhide
1146 msgid ""
1147 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
1148 "by I<pathname>; the differences for B<fstatat>() are described below."
1149 msgstr ""
1150
1151 #. type: Plain text
1152 #: debian-trixie fedora-44 fedora-rawhide
1153 #, fuzzy
1154 #| msgid ""
1155 #| "B<lstat> is identical to B<stat>, except in the case of a symbolic link, "
1156 #| "where the link itself is stat-ed, not the file that it refers to."
1157 msgid ""
1158 "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
1159 "symbolic link, then it returns information about the link itself, not the "
1160 "file that the link refers to."
1161 msgstr ""
1162 "B<lstat> é idêntico a B<stat>, exceto no caso de uma ligação simbólica, e "
1163 "não o arquivo que é obtido seguindo as ligações simbólicas."
1164
1165 #. type: Plain text
1166 #: debian-trixie fedora-44 fedora-rawhide
1167 msgid ""
1168 "If the pathname given in I<pathname> is relative, then it is interpreted "
1169 "relative to the directory referred to by the file descriptor I<dirfd> "
1170 "(rather than relative to the current working directory of the calling "
1171 "process, as is done by B<stat>() and B<lstat>() for a relative pathname)."
1172 msgstr ""
1173
1174 #. type: Plain text
1175 #: debian-trixie fedora-44 fedora-rawhide
1176 msgid ""
1177 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1178 "then I<pathname> is interpreted relative to the current working directory of "
1179 "the calling process (like B<stat>() and B<lstat>())."
1180 msgstr ""
1181
1182 #. type: Plain text
1183 #: debian-trixie fedora-44 fedora-rawhide
1184 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1185 msgstr ""
1186
1187 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1188 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1189 #. type: Plain text
1190 #: debian-trixie
1191 msgid ""
1192 "If I<pathname> is an empty string, operate on the file referred to by "
1193 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1194 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1195 "directory, and the behavior of B<fstatat>() is similar to that of "
1196 "B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1197 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1198 "obtain its definition."
1199 msgstr ""
1200
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 msgid ""
1204 "Don't automount the terminal (\"basename\") component of I<pathname.> Since "
1205 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
1206 msgstr ""
1207
1208 #. type: Plain text
1209 #: debian-trixie fedora-44 fedora-rawhide
1210 msgid ""
1211 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1212 "information about the link itself, like B<lstat>(). (By default, "
1213 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
1214 msgstr ""
1215
1216 #. type: Plain text
1217 #: debian-trixie fedora-44 fedora-rawhide
1218 msgid ""
1219 "Search permission is denied for one of the directories in the path prefix of "
1220 "I<pathname>. (See also B<path_resolution>(7).)"
1221 msgstr ""
1222
1223 #. type: Plain text
1224 #: debian-trixie fedora-44 fedora-rawhide
1225 msgid ""
1226 "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1227 "nor a valid file descriptor."
1228 msgstr ""
1229
1230 #. type: Plain text
1231 #: debian-trixie fedora-44 fedora-rawhide
1232 msgid "I<pathname> is too long."
1233 msgstr "I<pathname> é muito longo."
1234
1235 #. type: Plain text
1236 #: debian-trixie fedora-44 fedora-rawhide
1237 #, fuzzy
1238 #| msgid ""
1239 #| "A directory component in I<pathname> does not exist or is a dangling "
1240 #| "symbolic link."
1241 msgid ""
1242 "A component of I<pathname> does not exist or is a dangling symbolic link."
1243 msgstr ""
1244 "Um componente de diretório em I<pathname> não existe ou é um link simbólico "
1245 "pendurado."
1246
1247 #. type: Plain text
1248 #: debian-trixie fedora-44 fedora-rawhide
1249 msgid ""
1250 "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
1251 "I<flags>."
1252 msgstr ""
1253
1254 #. type: Plain text
1255 #: debian-trixie fedora-44 fedora-rawhide
1256 #, fuzzy
1257 #| msgid "A component of the path is not a directory."
1258 msgid "A component of the path prefix of I<pathname> is not a directory."
1259 msgstr "Um componente do caminho não é um diretório."
1260
1261 #. type: Plain text
1262 #: debian-trixie fedora-44 fedora-rawhide
1263 msgid ""
1264 "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1265 "referring to a file other than a directory."
1266 msgstr ""
1267
1268 #. type: Plain text
1269 #: debian-trixie fedora-44 fedora-rawhide
1270 msgid ""
1271 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
1272 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
1273 "or I<blkcnt_t>. This error can occur when, for example, an application "
1274 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
1275 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
1276 msgstr ""
1277
1278 #. type: Plain text
1279 #: debian-trixie fedora-44 fedora-rawhide
1280 msgid "POSIX.1-2008."
1281 msgstr "POSIX.1-2008."
1282
1283 #. type: Plain text
1284 #: debian-trixie fedora-44 fedora-rawhide
1285 #, no-wrap
1286 msgid ""
1287 "#include E<lt>stdint.hE<gt>\n"
1288 "#include E<lt>stdio.hE<gt>\n"
1289 "#include E<lt>stdlib.hE<gt>\n"
1290 "#include E<lt>sys/stat.hE<gt>\n"
1291 "#include E<lt>sys/sysmacros.hE<gt>\n"
1292 "#include E<lt>time.hE<gt>\n"
1293 "\\&\n"
1294 "int\n"
1295 "main(int argc, char *argv[])\n"
1296 "{\n"
1297 " struct stat sb;\n"
1298 "\\&\n"
1299 " if (argc != 2) {\n"
1300 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1301 " exit(EXIT_FAILURE);\n"
1302 " }\n"
1303 "\\&\n"
1304 " if (lstat(argv[1], &sb) == -1) {\n"
1305 " perror(\"lstat\");\n"
1306 " exit(EXIT_FAILURE);\n"
1307 " }\n"
1308 "\\&\n"
1309 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1310 " major(sb.st_dev),\n"
1311 " minor(sb.st_dev));\n"
1312 "\\&\n"
1313 " printf(\"File type: \");\n"
1314 "\\&\n"
1315 " switch (sb.st_mode & S_IFMT) {\n"
1316 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1317 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1318 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1319 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1320 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1321 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1322 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1323 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1324 " }\n"
1325 "\\&\n"
1326 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1327 "\\&\n"
1328 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1329 " (uintmax_t) sb.st_mode);\n"
1330 "\\&\n"
1331 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1332 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1333 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1334 "\\&\n"
1335 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1336 " (intmax_t) sb.st_blksize);\n"
1337 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1338 " (intmax_t) sb.st_size);\n"
1339 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1340 " (intmax_t) sb.st_blocks);\n"
1341 "\\&\n"
1342 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1343 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1344 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1345 "\\&\n"
1346 " exit(EXIT_SUCCESS);\n"
1347 "}\n"
1348 msgstr ""
1349
1350 #. type: TH
1351 #: fedora-44 fedora-rawhide
1352 #, no-wrap
1353 msgid "2025-01-09"
1354 msgstr "9 janeiro 2025"
1355
1356 #. type: TH
1357 #: fedora-44 fedora-rawhide
1358 #, no-wrap
1359 msgid "Linux man-pages 6.13"
1360 msgstr "Linux man-pages 6.13"
1361
1362 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1363 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1364 #. type: Plain text
1365 #: fedora-44 fedora-rawhide
1366 msgid ""
1367 "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
1368 "the file referred to by I<dirfd> (which may have been obtained using the "
1369 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
1370 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
1371 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
1372 "current working directory. This flag is Linux-specific; define "
1373 "B<_GNU_SOURCE> to obtain its definition."
1374 msgstr ""
1375
1376 #. type: TH
1377 #: mageia-cauldron
1378 #, no-wrap
1379 msgid "Linux man-pages 6.17"
1380 msgstr "Linux man-pages 6.17"
1381
1382 #. type: TH
1383 #: opensuse-leap-16-1 opensuse-tumbleweed
1384 #, no-wrap
1385 msgid "Linux man-pages (unreleased)"
1386 msgstr "Linux man-pages (não lançado)"