Debian Codegraph @

po/pl/man2/stat.2.po

raw
1 # Polish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Przemek Borys <[email protected]>, 1999.
5 # Robert Luberda <[email protected]>, 2006, 2012, 2013, 2017.
6 # Michał Kułach <[email protected]>, 2013, 2014, 2016, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-pl\n"
10 "POT-Creation-Date: 2026-06-05 06:44+0200\n"
11 "PO-Revision-Date: 2025-06-04 19:44+0200\n"
12 "Last-Translator: Michał Kułach <[email protected]>\n"
13 "Language-Team: Polish <[email protected]>\n"
14 "Language: pl\n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18 "X-Generator: Lokalize 22.12.3\n"
19 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20 "|| n%100>=20) ? 1 : 2);\n"
21
22 #. type: TH
23 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
24 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
25 #, no-wrap
26 msgid "stat"
27 msgstr "stat"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 lutego 2026 r."
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, no-wrap
39 msgid "Linux man-pages 6.18"
40 msgstr "Linux man-pages 6.18"
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 "NAZWA"
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 - pobiera stan pliku"
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 "BIBLIOTEKA"
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 "Standardowa biblioteka C (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 "SKŁADNIA"
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 #, no-wrap
86 msgid ""
87 "B<int stat(const char *restrict >I<path>B<,>\n"
88 "B< struct stat *restrict >I<statbuf>B<);>\n"
89 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
90 "B<int lstat(const char *restrict >I<path>B<,>\n"
91 "B< struct stat *restrict >I<statbuf>B<);>\n"
92 msgstr ""
93 "B<int stat(const char *restrict >I<path>B<,>\n"
94 "B< struct stat *restrict >I<statbuf>B<);>\n"
95 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
96 "B<int lstat(const char *restrict >I<path>B<,>\n"
97 "B< struct stat *restrict >I<statbuf>B<);>\n"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid ""
104 "B<#include E<lt>fcntl.hE<gt> >/* Definition of B<AT_*> constants */\n"
105 "B<#include E<lt>sys/stat.hE<gt>>\n"
106 msgstr ""
107 "B<#include E<lt>fcntl.hE<gt> >/* Definicja stałych B<AT_*> */\n"
108 "B<#include E<lt>sys/stat.hE<gt>>\n"
109
110 #. type: Plain text
111 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
112 #: opensuse-tumbleweed
113 #, no-wrap
114 msgid ""
115 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
116 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
117 msgstr ""
118 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<path>B<,>\n"
119 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
120
121 #. type: Plain text
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 msgid ""
125 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
126 msgstr ""
127 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
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 "B<lstat>():"
133 msgstr "B<lstat>():"
134
135 #. _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 #, no-wrap
140 msgid ""
141 " /* Since glibc 2.20 */ _DEFAULT_SOURCE\n"
142 " || _XOPEN_SOURCE E<gt>= 500\n"
143 " || /* Since glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
144 " || /* glibc 2.19 and earlier */ _BSD_SOURCE\n"
145 msgstr ""
146 " /* Od glibc 2.20 */ _DEFAULT_SOURCE\n"
147 " || _XOPEN_SOURCE E<gt>= 500\n"
148 " || /* Od glibc 2.10: */ _POSIX_C_SOURCE E<gt>= 200112L\n"
149 " || /* glibc 2.19 i wcześniejsze */ _BSD_SOURCE\n"
150
151 #. type: Plain text
152 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
153 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
154 msgid "B<fstatat>():"
155 msgstr "B<fstatat>():"
156
157 #. type: Plain text
158 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
159 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
160 #, no-wrap
161 msgid ""
162 " Since glibc 2.10:\n"
163 " _POSIX_C_SOURCE E<gt>= 200809L\n"
164 " Before glibc 2.10:\n"
165 " _ATFILE_SOURCE\n"
166 msgstr ""
167 " Od glibc 2.10:\n"
168 " _POSIX_C_SOURCE E<gt>= 200809L\n"
169 " Przed glibc 2.10:\n"
170 " _ATFILE_SOURCE\n"
171
172 #. type: SH
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 #, no-wrap
176 msgid "DESCRIPTION"
177 msgstr "OPIS"
178
179 #. type: Plain text
180 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
181 #: opensuse-tumbleweed
182 msgid ""
183 "These functions return information about a file, in the buffer pointed to by "
184 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
185 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
186 "permission is required on all of the directories in I<path> that lead to the "
187 "file."
188 msgstr ""
189 "Funkcje te zwracają informacje o podanym pliku w buforze wskazanym przez "
190 "I<statbuf>. Do uzyskania tej informacji nie są wymagane prawa dostępu do "
191 "samego pliku, lecz \\[em] w przypadku B<stat>, B<fstatat>() i B<lstat>() \\"
192 "[em] konieczne są prawa wykonywania (przeszukiwania) do wszystkich katalogów "
193 "na prowadzącej do pliku ścieżce I<path>."
194
195 #. type: Plain text
196 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
197 #: opensuse-tumbleweed
198 msgid ""
199 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
200 "by I<path>; the differences for B<fstatat>() are described below."
201 msgstr ""
202 "B<stat>() i B<fstatat>() pobierają informacje o pliku wskazanym przez "
203 "I<path>; cechy wyróżniające B<fstatat>() opisano poniżej."
204
205 #. type: Plain text
206 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
207 #: opensuse-tumbleweed
208 msgid ""
209 "B<lstat>() is identical to B<stat>(), except that if I<path> is a symbolic "
210 "link, then it returns information about the link itself, not the file that "
211 "the link refers to."
212 msgstr ""
213 "B<lstat>() jest identyczny z B<stat>(), lecz w przypadku gdy I<path> jest "
214 "dowiązaniem symbolicznym, to zwraca informacje o samym dowiązaniu, a nie "
215 "pliku, do którego się to dowiązanie odwołuje."
216
217 #. type: Plain text
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 msgid ""
221 "B<fstat>() is identical to B<stat>(), except that the file about which "
222 "information is to be retrieved is specified by the file descriptor I<fd>."
223 msgstr ""
224 "B<fstat>() jest identyczny z B<stat>(), z tym wyjątkiem, że plik o którym "
225 "mają być pobrane informacje, jest określony przez deskryptor pliku I<fd>."
226
227 #. type: SS
228 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
229 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
230 #, no-wrap
231 msgid "The stat structure"
232 msgstr "Struktura stat"
233
234 #. type: Plain text
235 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
236 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
237 msgid ""
238 "All of these system calls return a I<stat> structure (see B<stat>(3type))."
239 msgstr "Wszystkie te funkcje zwracają strukturę I<stat> (zob. B<stat>(3type))."
240
241 #. Background: inode attributes are modified with i_mutex held, but
242 #. read by stat() without taking the mutex.
243 #. type: Plain text
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 msgid ""
247 "I<Note>: for performance and simplicity reasons, different fields in the "
248 "I<stat> structure may contain state information from different moments "
249 "during the execution of the system call. For example, if I<st_mode> or "
250 "I<st_uid> is changed by another process by calling B<chmod>(2) or "
251 "B<chown>(2), B<stat>() might return the old I<st_mode> together with the "
252 "new I<st_uid>, or the old I<st_uid> together with the new I<st_mode>."
253 msgstr ""
254 "I<Uwaga>: Dla zachowania wydajności i prostoty, różne pola w strukturze "
255 "I<stat> mogą zawierać stany z różnych momentów wykonywania wywołania "
256 "systemowego. Przykładowo, jeśli I<st_mode> lub I<st_uid> zostanie zmieniony "
257 "przez inny proces za pomocą wywołania B<chmod>(2) lub B<chown>(2), B<stat>() "
258 "może zwrócić stary I<st_mode> razem z nowym I<st_uid> albo stary I<st_uid> "
259 "razem z nowym I<st_mode>."
260
261 #. type: SS
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "fstatat()"
266 msgstr "fstatat()"
267
268 #. type: Plain text
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 msgid ""
272 "The B<fstatat>() system call is a more general interface for accessing file "
273 "information which can still provide exactly the behavior of each of "
274 "B<stat>(), B<lstat>(), and B<fstat>()."
275 msgstr ""
276 "Wywołanie systemowe B<fstatat>() jest ogólniejszym interfejsem do "
277 "uzyskiwania dostępu do informacji o pliku, które może wciąż zapewnić "
278 "zachowanie identyczne do każdego z wywołań B<stat>(), B<lstat>() i "
279 "B<fstat>()."
280
281 #. type: Plain text
282 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
283 #: opensuse-tumbleweed
284 msgid ""
285 "If I<path> is relative, then it is interpreted relative to the directory "
286 "referred to by the file descriptor I<dirfd> (rather than relative to the "
287 "current working directory of the calling process, as is done by B<stat>() "
288 "and B<lstat>() for a relative pathname)."
289 msgstr ""
290 "Jeśli ścieżka I<path> jest względna, jest to interpretowane w odniesieniu do "
291 "katalogu do którego odnosi się deskryptor pliku I<dirfd> (zamiast w "
292 "odniesieniu do bieżącego katalogu roboczego procesu wywołującego, jak w "
293 "stosunku do ścieżek względnych robi to B<stat>() i B<lstat>())."
294
295 #. type: Plain text
296 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
297 #: opensuse-tumbleweed
298 msgid ""
299 "If I<path> is relative and I<dirfd> is the special value B<AT_FDCWD>, then "
300 "I<path> is interpreted relative to the current working directory of the "
301 "calling process (like B<stat>() and B<lstat>())."
302 msgstr ""
303 "Jeśli I<path> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, to "
304 "I<path> jest interpretowana w odniesieniu do bieżącego katalogu roboczego "
305 "procesu wywołującego (jak B<stat>() i B<lstat>())."
306
307 #. type: Plain text
308 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
309 #: opensuse-tumbleweed
310 msgid "If I<path> is absolute, then I<dirfd> is ignored."
311 msgstr "Jeśli ścieżka I<path> jest bezwzględna, to I<dirfd> jest ignorowane."
312
313 #. type: Plain text
314 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
315 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
316 msgid ""
317 "I<flags> can either be 0, or include one or more of the following flags ORed:"
318 msgstr ""
319 "I<flags> mogą wynosić albo 0, albo składać się z co najmniej jednego z "
320 "poniższych znaczników zsumowanych bitowo (OR):"
321
322 #. type: TP
323 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
324 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
325 #, no-wrap
326 msgid "B<AT_EMPTY_PATH> (since Linux 2.6.39)"
327 msgstr "B<AT_EMPTY_PATH> (od Linuksa 2.6.39)"
328
329 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
330 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
331 #. type: Plain text
332 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
333 #: opensuse-tumbleweed
334 msgid ""
335 "If I<path> is an empty string (or NULL, since Linux 6.11) operate on the "
336 "file referred to by I<dirfd> (which may have been obtained using the "
337 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
338 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
339 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
340 "current working directory. This flag is Linux-specific; define "
341 "B<_GNU_SOURCE> to obtain its definition."
342 msgstr ""
343 "Jeśli I<path> jest łańcuchem pustym (lub NULL, od Linuksa 6.11), to działa "
344 "na pliku do którego odnosi się I<dirfd> (który mógł zostać pozyskany za "
345 "pomocą znacznika B<O_PATH> B<open>(2)). W takim przypadku I<dirfd> może "
346 "odnosić się do każdego typu pliku, nie tylko katalogu, a zachowanie "
347 "B<fstatat>() jest podobne do B<fstat>(). Jeśli I<dirfd> wynosi B<AT_FDCWD>, "
348 "to wywołanie działa w bieżącym katalogu roboczym. Jest to opcja "
349 "charakterystyczna dla Linuksa, proszę zdefiniować B<_GNU_SOURCE>, aby dostać "
350 "się do jej definicji."
351
352 #. type: TP
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "B<AT_NO_AUTOMOUNT> (since Linux 2.6.38)"
357 msgstr "B<AT_NO_AUTOMOUNT> (od Linuksa 2.6.38)"
358
359 #. type: Plain text
360 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
361 #: opensuse-tumbleweed
362 msgid ""
363 "Don't automount the terminal (\"basename\") component of I<path.> Since "
364 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
365 msgstr ""
366 "Nie dokonuje automatycznego montowania składowej terminala (\\[Bq]basename\\"
367 "[rq]) ścieżki z I<path>. Od Linuksa 3.1 znacznik ten jest ignorowany. Od "
368 "Linuksa 4.11 znacznik ten jest implikowany."
369
370 #. type: TP
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 #, no-wrap
374 msgid "B<AT_SYMLINK_NOFOLLOW>"
375 msgstr "B<AT_SYMLINK_NOFOLLOW>"
376
377 #. type: Plain text
378 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
379 #: opensuse-tumbleweed
380 msgid ""
381 "If I<path> is a symbolic link, do not dereference it: instead return "
382 "information about the link itself, like B<lstat>(). (By default, "
383 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
384 msgstr ""
385 "Jeśli I<path> jest dowiązaniem symbolicznym, nie podąża za nim, w zamian "
386 "zwracając informacje o samym dowiązaniu, jak B<lstat>(). Domyślnie "
387 "B<fstatat> () podąża za dowiązaniami symbolicznymi, jak B<stat>().)"
388
389 #. type: Plain text
390 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
391 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
392 msgid "See B<openat>(2) for an explanation of the need for B<fstatat>()."
393 msgstr ""
394 "Więcej informacji o potrzebie wprowadzenia B<fstatat>() można znaleźć w "
395 "podręczniku B<openat>(2)."
396
397 #. type: SH
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "RETURN VALUE"
402 msgstr "WARTOŚĆ ZWRACANA"
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "On success, zero is returned. On error, -1 is returned, and I<errno> is set "
409 "to indicate the error."
410 msgstr ""
411 "Po pomyślnym zakończeniu zwracane jest zero. Po błędzie zwracane jest -1 i "
412 "ustawiane I<errno>, wskazując błąd."
413
414 #. type: SH
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 #, no-wrap
418 msgid "ERRORS"
419 msgstr "BŁĘDY"
420
421 #. type: TP
422 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
423 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
424 #, no-wrap
425 msgid "B<EACCES>"
426 msgstr "B<EACCES>"
427
428 #. type: Plain text
429 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
430 #: opensuse-tumbleweed
431 msgid ""
432 "Search permission is denied for one of the directories in the path prefix of "
433 "I<path>. (See also B<path_resolution>(7).)"
434 msgstr ""
435 "Brak uprawnień do przeszukiwania jednego z katalogów w ścieżce zaczynającej "
436 "I<path> (zob. też B<path_resolution>(7))."
437
438 #. type: TP
439 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
440 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
441 #, no-wrap
442 msgid "B<EBADF>"
443 msgstr "B<EBADF>"
444
445 #. type: Plain text
446 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
447 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
448 msgid "I<fd> is not a valid open file descriptor."
449 msgstr "I<fd> nie jest prawidłowym otwartym deskryptorem pliku."
450
451 #. type: Plain text
452 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
453 #: opensuse-tumbleweed
454 msgid ""
455 "(B<fstatat>()) I<path> is relative but I<dirfd> is neither B<AT_FDCWD> nor "
456 "a valid file descriptor."
457 msgstr ""
458 "(B<fstatat>()) I<path> jest względna, lecz I<dirfd> nie wynosi ani "
459 "B<AT_FDCWD>, ani nie jest prawidłowym deskryptorem pliku."
460
461 #. type: TP
462 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
463 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
464 #, no-wrap
465 msgid "B<EFAULT>"
466 msgstr "B<EFAULT>"
467
468 #. type: Plain text
469 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
470 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
471 msgid "Bad address."
472 msgstr "Niepoprawny adres."
473
474 #. type: TP
475 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
476 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
477 #, no-wrap
478 msgid "B<EINVAL>"
479 msgstr "B<EINVAL>"
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 msgid "(B<fstatat>()) Invalid flag specified in I<flags>."
485 msgstr "(B<fstatat>()) Podano nieprawidłową opcję we I<flags>."
486
487 #. type: TP
488 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
489 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
490 #, no-wrap
491 msgid "B<ELOOP>"
492 msgstr "B<ELOOP>"
493
494 #. type: Plain text
495 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
496 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
497 msgid "Too many symbolic links encountered while traversing the path."
498 msgstr ""
499 "Podczas rozwiązywania ścieżki napotkano zbyt wiele dowiązań symbolicznych."
500
501 #. type: TP
502 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
503 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
504 #, no-wrap
505 msgid "B<ENAMETOOLONG>"
506 msgstr "B<ENAMETOOLONG>"
507
508 #. type: Plain text
509 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
510 #: opensuse-tumbleweed
511 msgid "I<path> is too long."
512 msgstr "I<path> jest zbyt długie."
513
514 #. type: TP
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 #, no-wrap
518 msgid "B<ENOENT>"
519 msgstr "B<ENOENT>"
520
521 #. type: Plain text
522 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
523 #: opensuse-tumbleweed
524 msgid "A component of I<path> does not exist or is a dangling symbolic link."
525 msgstr ""
526 "Składowa I<path> nie istnieje lub jest wiszącym dowiązaniem symbolicznym."
527
528 #. type: Plain text
529 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
530 #: opensuse-tumbleweed
531 msgid ""
532 "I<path> is an empty string and B<AT_EMPTY_PATH> was not specified in "
533 "I<flags>."
534 msgstr ""
535 "I<path> jest łańcuchem pustym, a we I<flags> nie podano B<AT_EMPTY_PATH>."
536
537 #. type: TP
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "B<ENOMEM>"
542 msgstr "B<ENOMEM>"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid "Out of memory (i.e., kernel memory)."
548 msgstr "Brak pamięci (tj. pamięci jądra)."
549
550 #. type: TP
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 #, no-wrap
554 msgid "B<ENOTDIR>"
555 msgstr "B<ENOTDIR>"
556
557 #. type: Plain text
558 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
559 #: opensuse-tumbleweed
560 msgid "A component of the path prefix of I<path> is not a directory."
561 msgstr "Składowa ścieżki I<path> nie jest katalogiem."
562
563 #. type: Plain text
564 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
565 #: opensuse-tumbleweed
566 msgid ""
567 "(B<fstatat>()) I<path> is relative and I<dirfd> is a file descriptor "
568 "referring to a file other than a directory."
569 msgstr ""
570 "(B<fstatat>()) I<path> jest względna, a I<dirfd> jest deskryptorem pliku "
571 "odnoszącym się do pliku, zamiast do katalogu."
572
573 #. type: TP
574 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
575 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
576 #, no-wrap
577 msgid "B<EOVERFLOW>"
578 msgstr "B<EOVERFLOW>"
579
580 #. type: Plain text
581 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
582 #: opensuse-tumbleweed
583 msgid ""
584 "I<path> or I<fd> refers to a file whose size, inode number, or number of "
585 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
586 "or I<blkcnt_t>. This error can occur when, for example, an application "
587 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
588 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
589 msgstr ""
590 "I<path> lub I<fd> odnosi się do pliku, numeru i-węzła lub numeru bloków, "
591 "których rozmiar nie jest reprezentowalny w - odpowiednio - typie I<off_t>, "
592 "I<ino_t>, I<blkcnt_t>. Błąd ten może wystąpić na przykład wtedy, gdy "
593 "aplikacja skompilowana na platformie 32-bitowej bez I<-"
594 "D_FILE_OFFSET_BITS=64> wywoła B<stat> () na pliku, którego rozmiar jest "
595 "większy niż I<(1E<lt>E<lt>31)-1> bajtów."
596
597 #. type: SH
598 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
599 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
600 #, no-wrap
601 msgid "STANDARDS"
602 msgstr "STANDARDY"
603
604 #. type: Plain text
605 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
606 #: opensuse-tumbleweed
607 msgid "POSIX.1-2024."
608 msgstr "POSIX.1-2024."
609
610 #. type: SH
611 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
612 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
613 #, no-wrap
614 msgid "HISTORY"
615 msgstr "HISTORIA"
616
617 #. type: TP
618 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
619 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
620 #, no-wrap
621 msgid "B<stat>()"
622 msgstr "B<stat>()"
623
624 #. type: TQ
625 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
626 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
627 #, no-wrap
628 msgid "B<fstat>()"
629 msgstr "B<fstat>()"
630
631 #. type: TQ
632 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
633 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
634 #, no-wrap
635 msgid "B<lstat>()"
636 msgstr "B<lstat>()"
637
638 #. SVr4 documents additional
639 #. .BR fstat ()
640 #. error conditions EINTR, ENOLINK, and EOVERFLOW. SVr4
641 #. documents additional
642 #. .BR stat ()
643 #. and
644 #. .BR lstat ()
645 #. error conditions EINTR, EMULTIHOP, ENOLINK, and EOVERFLOW.
646 #. type: Plain text
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 msgid "SVr4, 4.3BSD, POSIX.1-2001."
650 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
651
652 #. type: TP
653 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
654 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
655 #, no-wrap
656 msgid "B<fstatat>()"
657 msgstr "B<fstatat>()"
658
659 #. type: Plain text
660 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
661 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
662 msgid "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
663 msgstr "POSIX.1-2008. Linux 2.6.16, glibc 2.4."
664
665 #. type: Plain text
666 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
667 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
668 msgid ""
669 "According to POSIX.1-2001, B<lstat>() on a symbolic link need return valid "
670 "information only in the I<st_size> field and the file type of the I<st_mode> "
671 "field of the I<stat> structure. POSIX.1-2008 tightens the specification, "
672 "requiring B<lstat>() to return valid information in all fields except the "
673 "mode bits in I<st_mode>."
674 msgstr ""
675 "Według POSIX.1-2001 B<lstat>() na dowiązaniu symbolicznym powinien zwrócić "
676 "poprawne wartości tylko w polu I<st_size> i w części pola I<st_mode> "
677 "związanej z typem pliku struktury I<stat>. POSIX.1-2008 zaostrza tę "
678 "specyfikację, wymagając od B<lstat>() zwracania poprawnych informacji we "
679 "wszystkich polach z wyjątkiem bitów trybu w I<st_mode>."
680
681 #. type: Plain text
682 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
683 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
684 msgid ""
685 "Use of the I<st_blocks> and I<st_blksize> fields may be less portable. "
686 "(They were introduced in BSD. The interpretation differs between systems, "
687 "and possibly on a single system when NFS mounts are involved.)"
688 msgstr ""
689 "Używanie pól I<st_blocks> i I<st_blksize> może być nieprzenośne (były "
690 "wprowadzone w BSD; interpretacje różnią się zarówno między systemami, jak i "
691 "na jednym systemie, jeśli użyty jest zdalny system plików montowany po NFS-"
692 "ie)."
693
694 #. type: SS
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "C library/kernel differences"
699 msgstr "Różnice biblioteki C/jądra"
700
701 #. See include/asm-i386/stat.h in the Linux 2.4 source code for the
702 #. various versions of the structure definitions
703 #. type: Plain text
704 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
705 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
706 msgid ""
707 "Over time, increases in the size of the I<stat> structure have led to three "
708 "successive versions of B<stat>(): I<sys_stat>() (slot I<__NR_oldstat>), "
709 "I<sys_newstat>() (slot I<__NR_stat>), and I<sys_stat64()> (slot "
710 "I<__NR_stat64>) on 32-bit platforms such as i386. The first two versions "
711 "were already present in Linux 1.0 (albeit with different names); the last "
712 "was added in Linux 2.4. Similar remarks apply for B<fstat>() and "
713 "B<lstat>()."
714 msgstr ""
715 "Z upływem czasu, zwiększanie rozmiarów struktury I<stat> doprowadziło do "
716 "powstania trzech kolejnych wersji funkcji B<stat>(): I<sys_stat>() (slot "
717 "I<__NR_oldstat>), I<sys_newstat>() (slot I<__NR_stat>) i I<sys_stat64()> "
718 "(slot I<__NR_stat64>) na platformach 32-bitowych takich jak i386. Pierwsze "
719 "dwie wersje były już obecne w Linuksie 1.0 (choć z różnymi nazwami), "
720 "ostatnią dodano w Linuksie 2.4. Podobne uwagi mają zastosowanie do "
721 "B<fstat>() i B<lstat>()."
722
723 #. type: Plain text
724 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
725 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
726 msgid ""
727 "The kernel-internal versions of the I<stat> structure dealt with by the "
728 "different versions are, respectively:"
729 msgstr ""
730 "Wewnątrzjądrowe wersje struktury I<stat>, za pomocą których jądro obsługuje "
731 "te różne wersje, to odpowiednio:"
732
733 #. type: TP
734 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
735 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
736 #, no-wrap
737 msgid "I<__old_kernel_stat>"
738 msgstr "I<__old_kernel_stat>"
739
740 #. type: Plain text
741 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
742 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
743 msgid "The original structure, with rather narrow fields, and no padding."
744 msgstr ""
745 "Oryginalna struktura z dość wąskimi polami i brakiem dopełnienia "
746 "(wyrównania)."
747
748 #. type: TP
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "I<stat>"
753 msgstr "I<stat>"
754
755 #. type: Plain text
756 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
757 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
758 msgid ""
759 "Larger I<st_ino> field and padding added to various parts of the structure "
760 "to allow for future expansion."
761 msgstr ""
762 "Większe pole I<st_ino> i dodane dopełnienie do różnych części struktury "
763 "pozwalające na późniejszą rozbudowę."
764
765 #. type: TP
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 #, no-wrap
769 msgid "I<stat64>"
770 msgstr "I<stat64>"
771
772 #. type: Plain text
773 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
774 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
775 msgid ""
776 "Even larger I<st_ino> field, larger I<st_uid> and I<st_gid> fields to "
777 "accommodate the Linux-2.4 expansion of UIDs and GIDs to 32 bits, and various "
778 "other enlarged fields and further padding in the structure. (Various "
779 "padding bytes were eventually consumed in Linux 2.6, with the advent of 32-"
780 "bit device IDs and nanosecond components for the timestamp fields.)"
781 msgstr ""
782 "Jeszcze większe pole I<st_ino>, większe pola I<st_uid> i I<st_gid> aby "
783 "przyjąć rozszerzone w Linuksie 2.4 UID-y i GID-y do 32 bitów i różne inne "
784 "poszerzenia pól oraz jeszcze więcej dopełnień w strukturze (dopełnione bajty "
785 "zostały w końcu wykorzystane w Linuksie 2.6 po pojawieniu się 32-bitowych "
786 "identyfikatorów urządzeń oraz części nanosekundowej w polach znaczników "
787 "czasowych)."
788
789 #. #-#-#-#-# archlinux: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
790 #. A note from Andries Brouwer, July 2007
791 #. > Is the story not rather more complicated for some calls like
792 #. > stat(2)?
793 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
794 #. The idea is here not so much that syscalls change, but that
795 #. the definitions of struct stat and of the types dev_t and mode_t change.
796 #. This means that libc (even if it does not call the kernel
797 #. but only calls some internal function) must know what the
798 #. format of dev_t or of struct stat is.
799 #. The communication between the application and libc goes via
800 #. the include file <sys/stat.h> that defines a _STAT_VER and
801 #. _MKNOD_VER describing the layout of the data that user space
802 #. uses. Each (almost each) occurrence of stat() is replaced by
803 #. an occurrence of xstat() where the first parameter of xstat()
804 #. is this version number _STAT_VER.
805 #. Now, also the definitions used by the kernel change.
806 #. But glibc copes with this in the standard way, and the
807 #. struct stat as returned by the kernel is repacked into
808 #. the struct stat as expected by the application.
809 #. Thus, _STAT_VER and this setup cater for the application-libc
810 #. interface, rather than the libc-kernel interface.
811 #. (Note that the details depend on gcc being used as c compiler.)
812 #. type: Plain text
813 #. #-#-#-#-# debian-trixie: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
814 #. A note from Andries Brouwer, July 2007
815 #. > Is the story not rather more complicated for some calls like
816 #. > stat(2)?
817 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
818 #. The idea is here not so much that syscalls change, but that
819 #. the definitions of struct stat and of the types dev_t and mode_t change.
820 #. This means that libc (even if it does not call the kernel
821 #. but only calls some internal function) must know what the
822 #. format of dev_t or of struct stat is.
823 #. The communication between the application and libc goes via
824 #. the include file <sys/stat.h> that defines a _STAT_VER and
825 #. _MKNOD_VER describing the layout of the data that user space
826 #. uses. Each (almost each) occurrence of stat() is replaced by
827 #. an occurrence of xstat() where the first parameter of xstat()
828 #. is this version number _STAT_VER.
829 #. Now, also the definitions used by the kernel change.
830 #. But glibc copes with this in the standard way, and the
831 #. struct stat as returned by the kernel is repacked into
832 #. the struct stat as expected by the application.
833 #. Thus, _STAT_VER and this setup cater for the application-libc
834 #. interface, rather than the libc-kernel interface.
835 #. (Note that the details depend on gcc being used as c compiler.)
836 #. type: Plain text
837 #. #-#-#-#-# debian-unstable: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
838 #. A note from Andries Brouwer, July 2007
839 #. > Is the story not rather more complicated for some calls like
840 #. > stat(2)?
841 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
842 #. The idea is here not so much that syscalls change, but that
843 #. the definitions of struct stat and of the types dev_t and mode_t change.
844 #. This means that libc (even if it does not call the kernel
845 #. but only calls some internal function) must know what the
846 #. format of dev_t or of struct stat is.
847 #. The communication between the application and libc goes via
848 #. the include file <sys/stat.h> that defines a _STAT_VER and
849 #. _MKNOD_VER describing the layout of the data that user space
850 #. uses. Each (almost each) occurrence of stat() is replaced by
851 #. an occurrence of xstat() where the first parameter of xstat()
852 #. is this version number _STAT_VER.
853 #. Now, also the definitions used by the kernel change.
854 #. But glibc copes with this in the standard way, and the
855 #. struct stat as returned by the kernel is repacked into
856 #. the struct stat as expected by the application.
857 #. Thus, _STAT_VER and this setup cater for the application-libc
858 #. interface, rather than the libc-kernel interface.
859 #. (Note that the details depend on gcc being used as c compiler.)
860 #. type: Plain text
861 #. #-#-#-#-# fedora-44: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
862 #. A note from Andries Brouwer, July 2007
863 #. > Is the story not rather more complicated for some calls like
864 #. > stat(2)?
865 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
866 #. The idea is here not so much that syscalls change, but that
867 #. the definitions of struct stat and of the types dev_t and mode_t change.
868 #. This means that libc (even if it does not call the kernel
869 #. but only calls some internal function) must know what the
870 #. format of dev_t or of struct stat is.
871 #. The communication between the application and libc goes via
872 #. the include file <sys/stat.h> that defines a _STAT_VER and
873 #. _MKNOD_VER describing the layout of the data that user space
874 #. uses. Each (almost each) occurrence of stat() is replaced by
875 #. an occurrence of xstat() where the first parameter of xstat()
876 #. is this version number _STAT_VER.
877 #. Now, also the definitions used by the kernel change.
878 #. But glibc copes with this in the standard way, and the
879 #. struct stat as returned by the kernel is repacked into
880 #. the struct stat as expected by the application.
881 #. Thus, _STAT_VER and this setup cater for the application-libc
882 #. interface, rather than the libc-kernel interface.
883 #. (Note that the details depend on gcc being used as c compiler.)
884 #. type: Plain text
885 #. #-#-#-#-# fedora-rawhide: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
886 #. A note from Andries Brouwer, July 2007
887 #. > Is the story not rather more complicated for some calls like
888 #. > stat(2)?
889 #. Yes and no, mostly no. See /usr/include/sys/stat.h .
890 #. The idea is here not so much that syscalls change, but that
891 #. the definitions of struct stat and of the types dev_t and mode_t change.
892 #. This means that libc (even if it does not call the kernel
893 #. but only calls some internal function) must know what the
894 #. format of dev_t or of struct stat is.
895 #. The communication between the application and libc goes via
896 #. the include file <sys/stat.h> that defines a _STAT_VER and
897 #. _MKNOD_VER describing the layout of the data that user space
898 #. uses. Each (almost each) occurrence of stat() is replaced by
899 #. an occurrence of xstat() where the first parameter of xstat()
900 #. is this version number _STAT_VER.
901 #. Now, also the definitions used by the kernel change.
902 #. But glibc copes with this in the standard way, and the
903 #. struct stat as returned by the kernel is repacked into
904 #. the struct stat as expected by the application.
905 #. Thus, _STAT_VER and this setup cater for the application-libc
906 #. interface, rather than the libc-kernel interface.
907 #. (Note that the details depend on gcc being used as c compiler.)
908 #. type: Plain text
909 #. #-#-#-#-# mageia-cauldron: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
910 #. A note from Andries Brouwer, July 2007
911 #. > Is the story not rather more complicated for some calls like
912 #. > stat(2)?
913 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
914 #. The idea is here not so much that syscalls change, but that
915 #. the definitions of struct stat and of the types dev_t and mode_t change.
916 #. This means that libc (even if it does not call the kernel
917 #. but only calls some internal function) must know what the
918 #. format of dev_t or of struct stat is.
919 #. The communication between the application and libc goes via
920 #. the include file <sys/stat.h> that defines a _STAT_VER and
921 #. _MKNOD_VER describing the layout of the data that user space
922 #. uses. Each (almost each) occurrence of stat() is replaced by
923 #. an occurrence of xstat() where the first parameter of xstat()
924 #. is this version number _STAT_VER.
925 #. Now, also the definitions used by the kernel change.
926 #. But glibc copes with this in the standard way, and the
927 #. struct stat as returned by the kernel is repacked into
928 #. the struct stat as expected by the application.
929 #. Thus, _STAT_VER and this setup cater for the application-libc
930 #. interface, rather than the libc-kernel interface.
931 #. (Note that the details depend on gcc being used as c compiler.)
932 #. type: Plain text
933 #. #-#-#-#-# opensuse-leap-16-1: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
934 #. A note from Andries Brouwer, July 2007
935 #. > Is the story not rather more complicated for some calls like
936 #. > stat(2)?
937 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
938 #. The idea is here not so much that syscalls change, but that
939 #. the definitions of struct stat and of the types dev_t and mode_t change.
940 #. This means that libc (even if it does not call the kernel
941 #. but only calls some internal function) must know what the
942 #. format of dev_t or of struct stat is.
943 #. The communication between the application and libc goes via
944 #. the include file <sys/stat.h> that defines a _STAT_VER and
945 #. _MKNOD_VER describing the layout of the data that user space
946 #. uses. Each (almost each) occurrence of stat() is replaced by
947 #. an occurrence of xstat() where the first parameter of xstat()
948 #. is this version number _STAT_VER.
949 #. Now, also the definitions used by the kernel change.
950 #. But glibc copes with this in the standard way, and the
951 #. struct stat as returned by the kernel is repacked into
952 #. the struct stat as expected by the application.
953 #. Thus, _STAT_VER and this setup cater for the application-libc
954 #. interface, rather than the libc-kernel interface.
955 #. (Note that the details depend on gcc being used as c compiler.)
956 #. type: Plain text
957 #. #-#-#-#-# opensuse-tumbleweed: stat.2.pot (PACKAGE VERSION) #-#-#-#-#
958 #. A note from Andries Brouwer, July 2007
959 #. > Is the story not rather more complicated for some calls like
960 #. > stat(2)?
961 #. Yes and no, mostly no. See "/usr/include/sys/stat.h".
962 #. The idea is here not so much that syscalls change, but that
963 #. the definitions of struct stat and of the types dev_t and mode_t change.
964 #. This means that libc (even if it does not call the kernel
965 #. but only calls some internal function) must know what the
966 #. format of dev_t or of struct stat is.
967 #. The communication between the application and libc goes via
968 #. the include file <sys/stat.h> that defines a _STAT_VER and
969 #. _MKNOD_VER describing the layout of the data that user space
970 #. uses. Each (almost each) occurrence of stat() is replaced by
971 #. an occurrence of xstat() where the first parameter of xstat()
972 #. is this version number _STAT_VER.
973 #. Now, also the definitions used by the kernel change.
974 #. But glibc copes with this in the standard way, and the
975 #. struct stat as returned by the kernel is repacked into
976 #. the struct stat as expected by the application.
977 #. Thus, _STAT_VER and this setup cater for the application-libc
978 #. interface, rather than the libc-kernel interface.
979 #. (Note that the details depend on gcc being used as c compiler.)
980 #. type: Plain text
981 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
982 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
983 msgid ""
984 "The glibc B<stat>() wrapper function hides these details from applications, "
985 "invoking the most recent version of the system call provided by the kernel, "
986 "and repacking the returned information if required for old binaries."
987 msgstr ""
988 "Funkcja opakowująca glibc B<stat>() ukrywa te detale przed użytkownikami, "
989 "wywołując najnowszą wersję wywołania systemowego udostępnianą przez jądra i "
990 "przepakowując zwracane informacje, jeśli jest to wymagane, dla starszych "
991 "plików wykonywalnych."
992
993 #. type: Plain text
994 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
995 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
996 msgid ""
997 "On modern 64-bit systems, life is simpler: there is a single B<stat>() "
998 "system call and the kernel deals with a I<stat> structure that contains "
999 "fields of a sufficient size."
1000 msgstr ""
1001 "Na współczesnych systemach 64-bitowych wszystko jest prostsze: istnieje "
1002 "jedno wywołanie systemowe B<stat>(), a jądro wykorzystuje strukturę I<stat> "
1003 "zawierającą pola o wystarczającym rozmiarze."
1004
1005 #. strace(1) shows the name "newfstatat" on x86-64
1006 #. type: Plain text
1007 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1008 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1009 msgid ""
1010 "The underlying system call employed by the glibc B<fstatat>() wrapper "
1011 "function is actually called B<fstatat64>() or, on some architectures, "
1012 "B<newfstatat>()."
1013 msgstr ""
1014 "Wywołanie systemowe niższego stopnia używane przez funkcję opakowującą "
1015 "B<fstatat>() glibc nazywa się w rzeczywistości B<fstatat64>() lub, na "
1016 "niektórych architekturach, B<newfstatat>()."
1017
1018 #. type: SH
1019 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1020 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1021 #, no-wrap
1022 msgid "EXAMPLES"
1023 msgstr "PRZYKŁADY"
1024
1025 #. type: Plain text
1026 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1027 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1028 msgid ""
1029 "The following program calls B<lstat>() and displays selected fields in the "
1030 "returned I<stat> structure."
1031 msgstr ""
1032 "Poniższy program wywołuje B<lstat>() i wypisuje wybrane pola zwrócone w "
1033 "strukturze I<stat>:"
1034
1035 #. type: Plain text
1036 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
1037 #: opensuse-tumbleweed
1038 #, no-wrap
1039 msgid ""
1040 "#include E<lt>stdint.hE<gt>\n"
1041 "#include E<lt>stdio.hE<gt>\n"
1042 "#include E<lt>stdlib.hE<gt>\n"
1043 "#include E<lt>sys/stat.hE<gt>\n"
1044 "#include E<lt>sys/sysmacros.hE<gt>\n"
1045 "#include E<lt>time.hE<gt>\n"
1046 "\\&\n"
1047 "int\n"
1048 "main(int argc, char *argv[])\n"
1049 "{\n"
1050 " struct stat sb;\n"
1051 "\\&\n"
1052 " if (argc != 2) {\n"
1053 " fprintf(stderr, \"Usage: %s E<lt>pathE<gt>\\[rs]n\", argv[0]);\n"
1054 " exit(EXIT_FAILURE);\n"
1055 " }\n"
1056 "\\&\n"
1057 " if (lstat(argv[1], &sb) == -1) {\n"
1058 " perror(\"lstat\");\n"
1059 " exit(EXIT_FAILURE);\n"
1060 " }\n"
1061 "\\&\n"
1062 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1063 " major(sb.st_dev),\n"
1064 " minor(sb.st_dev));\n"
1065 "\\&\n"
1066 " printf(\"File type: \");\n"
1067 "\\&\n"
1068 " switch (sb.st_mode & S_IFMT) {\n"
1069 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1070 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1071 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1072 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1073 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1074 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1075 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1076 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1077 " }\n"
1078 "\\&\n"
1079 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1080 "\\&\n"
1081 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1082 " (uintmax_t) sb.st_mode);\n"
1083 "\\&\n"
1084 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1085 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1086 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1087 "\\&\n"
1088 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1089 " (intmax_t) sb.st_blksize);\n"
1090 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1091 " (intmax_t) sb.st_size);\n"
1092 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1093 " (intmax_t) sb.st_blocks);\n"
1094 "\\&\n"
1095 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1096 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1097 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1098 "\\&\n"
1099 " exit(EXIT_SUCCESS);\n"
1100 "}\n"
1101 msgstr ""
1102 "#include E<lt>stdint.hE<gt>\n"
1103 "#include E<lt>stdio.hE<gt>\n"
1104 "#include E<lt>stdlib.hE<gt>\n"
1105 "#include E<lt>sys/stat.hE<gt>\n"
1106 "#include E<lt>sys/sysmacros.hE<gt>\n"
1107 "#include E<lt>time.hE<gt>\n"
1108 "\\&\n"
1109 "int\n"
1110 "main(int argc, char *argv[])\n"
1111 "{\n"
1112 " struct stat sb;\n"
1113 "\\&\n"
1114 " if (argc != 2) {\n"
1115 " fprintf(stderr, \"Użycie: %s E<lt>ścieżkaE<gt>\\[rs]n\", argv[0]);\n"
1116 " exit(EXIT_FAILURE);\n"
1117 " }\n"
1118 "\\&\n"
1119 " if (lstat(argv[1], &sb) == -1) {\n"
1120 " perror(\"lstat\");\n"
1121 " exit(EXIT_FAILURE);\n"
1122 " }\n"
1123 "\\&\n"
1124 " printf(\"ID urządzenia: [%x,%x]\\[rs]n\",\n"
1125 " major(sb.st_dev),\n"
1126 " minor(sb.st_dev));\n"
1127 "\\&\n"
1128 " printf(\"Typ pliku: \");\n"
1129 "\\&\n"
1130 " switch (sb.st_mode & S_IFMT) {\n"
1131 " case S_IFBLK: printf(\"urządzenie blokowe\\[rs]n\"); break;\n"
1132 " case S_IFCHR: printf(\"urządzenie znakowe\\[rs]n\"); break;\n"
1133 " case S_IFDIR: printf(\"katalog\\[rs]n\"); break;\n"
1134 " case S_IFIFO: printf(\"FIFO/potok\\[rs]n\"); break;\n"
1135 " case S_IFLNK: printf(\"dowiązanie symboliczne\\[rs]n\"); break;\n"
1136 " case S_IFREG: printf(\"zwykły plik\\[rs]n\"); break;\n"
1137 " case S_IFSOCK: printf(\"gniazdo\\[rs]n\"); break;\n"
1138 " default: printf(\"typ nieznany\\[rs]n\"); break;\n"
1139 " }\n"
1140 "\\&\n"
1141 " printf(\"Numer i-węzła: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1142 "\\&\n"
1143 " printf(\"Tryb: %jo (ósemkowo)\\[rs]n\",\n"
1144 " (uintmax_t) sb.st_mode);\n"
1145 "\\&\n"
1146 " printf(\"Liczba dowiązań: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1147 " printf(\"Właściciel: UID=%ju GID=%ju\\[rs]n\",\n"
1148 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1149 "\\&\n"
1150 " printf(\"Preferowany rozmiar bloku I/O: %jd bajtów\\[rs]n\",\n"
1151 " (intmax_t) sb.st_blksize);\n"
1152 " printf(\"Rozmiar bloku: %jd bajtów\\[rs]n\",\n"
1153 " (intmax_t) sb.st_size);\n"
1154 " printf(\"Liczba przydzielonych bloków: %jd\\[rs]n\",\n"
1155 " (intmax_t) sb.st_blocks);\n"
1156 "\\&\n"
1157 " printf(\"Ostatnia zmiana stanu: %s\", ctime(&sb.st_ctime));\n"
1158 " printf(\"Ostatni dostęp do pliku: %s\", ctime(&sb.st_atime));\n"
1159 " printf(\"Ostatnia zmiana pliku: %s\", ctime(&sb.st_mtime));\n"
1160 "\\&\n"
1161 " exit(EXIT_SUCCESS);\n"
1162 "}\n"
1163
1164 #. SRC END
1165 #. type: SH
1166 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1167 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1168 #, no-wrap
1169 msgid "SEE ALSO"
1170 msgstr "ZOBACZ TAKŻE"
1171
1172 #. type: Plain text
1173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1175 msgid ""
1176 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1177 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1178 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1179 msgstr ""
1180 "B<ls>(1), B<stat>(1), B<access>(2), B<chmod>(2), B<chown>(2), "
1181 "B<readlink>(2), B<statx>(2), B<utime>(2), B<stat>(3type), "
1182 "B<capabilities>(7), B<inode>(7), B<symlink>(7)"
1183
1184 #. type: TH
1185 #: debian-trixie
1186 #, no-wrap
1187 msgid "2024-06-15"
1188 msgstr "15 czerwca 2024 r."
1189
1190 #. type: TH
1191 #: debian-trixie
1192 #, no-wrap
1193 msgid "Linux man-pages 6.9.1"
1194 msgstr "Linux man-pages 6.9.1"
1195
1196 #. type: Plain text
1197 #: debian-trixie
1198 msgid "Standard C library (I<libc>, I<-lc>)"
1199 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
1200
1201 #. type: Plain text
1202 #: debian-trixie fedora-44 fedora-rawhide
1203 #, no-wrap
1204 msgid ""
1205 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1206 "B< struct stat *restrict >I<statbuf>B<);>\n"
1207 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1208 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1209 "B< struct stat *restrict >I<statbuf>B<);>\n"
1210 msgstr ""
1211 "B<int stat(const char *restrict >I<pathname>B<,>\n"
1212 "B< struct stat *restrict >I<statbuf>B<);>\n"
1213 "B<int fstat(int >I<fd>B<, struct stat *>I<statbuf>B<);>\n"
1214 "B<int lstat(const char *restrict >I<pathname>B<,>\n"
1215 "B< struct stat *restrict >I<statbuf>B<);>\n"
1216
1217 #. type: Plain text
1218 #: debian-trixie fedora-44 fedora-rawhide
1219 #, no-wrap
1220 msgid ""
1221 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1222 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1223 msgstr ""
1224 "B<int fstatat(int >I<dirfd>B<, const char *restrict >I<pathname>B<,>\n"
1225 "B< struct stat *restrict >I<statbuf>B<, int >I<flags>B<);>\n"
1226
1227 #. type: Plain text
1228 #: debian-trixie fedora-44 fedora-rawhide
1229 msgid ""
1230 "These functions return information about a file, in the buffer pointed to by "
1231 "I<statbuf>. No permissions are required on the file itself, but\\[em]in the "
1232 "case of B<stat>(), B<fstatat>(), and B<lstat>()\\[em]execute (search) "
1233 "permission is required on all of the directories in I<pathname> that lead to "
1234 "the file."
1235 msgstr ""
1236 "Funkcje te zwracają informacje o podanym pliku w buforze wskazanym przez "
1237 "I<statbuf>. Do uzyskania tej informacji nie są wymagane prawa dostępu do "
1238 "samego pliku, lecz \\[em] w przypadku B<stat>, B<fstatat>() i B<lstat>() \\"
1239 "[em] konieczne są prawa wykonywania (przeszukiwania) do wszystkich katalogów "
1240 "na prowadzącej do pliku ścieżce I<pathname>."
1241
1242 #. type: Plain text
1243 #: debian-trixie fedora-44 fedora-rawhide
1244 msgid ""
1245 "B<stat>() and B<fstatat>() retrieve information about the file pointed to "
1246 "by I<pathname>; the differences for B<fstatat>() are described below."
1247 msgstr ""
1248 "B<stat>() i B<fstatat>() pobierają informacje o pliku wskazanym przez "
1249 "I<pathname>; cechy wyróżniające B<fstatat>() opisano poniżej."
1250
1251 #. type: Plain text
1252 #: debian-trixie fedora-44 fedora-rawhide
1253 msgid ""
1254 "B<lstat>() is identical to B<stat>(), except that if I<pathname> is a "
1255 "symbolic link, then it returns information about the link itself, not the "
1256 "file that the link refers to."
1257 msgstr ""
1258 "B<lstat>() jest identyczny z B<stat>(), lecz w przypadku gdy I<pathname> "
1259 "jest dowiązaniem symbolicznym, to zwraca informacje o samym dowiązaniu, a "
1260 "nie pliku, do którego się to dowiązanie odwołuje."
1261
1262 #. type: Plain text
1263 #: debian-trixie fedora-44 fedora-rawhide
1264 msgid ""
1265 "If the pathname given in I<pathname> is relative, then it is interpreted "
1266 "relative to the directory referred to by the file descriptor I<dirfd> "
1267 "(rather than relative to the current working directory of the calling "
1268 "process, as is done by B<stat>() and B<lstat>() for a relative pathname)."
1269 msgstr ""
1270 "Jeśli ścieżka podana w I<pathname> jest względna, jest to interpretowane w "
1271 "odniesieniu do katalogu do którego odnosi się deskryptor pliku I<dirfd> "
1272 "(zamiast w odniesieniu do bieżącego katalogu roboczego procesu wywołującego, "
1273 "jak w stosunku do ścieżek względnych robi to B<stat>() i B<lstat>())."
1274
1275 #. type: Plain text
1276 #: debian-trixie fedora-44 fedora-rawhide
1277 msgid ""
1278 "If I<pathname> is relative and I<dirfd> is the special value B<AT_FDCWD>, "
1279 "then I<pathname> is interpreted relative to the current working directory of "
1280 "the calling process (like B<stat>() and B<lstat>())."
1281 msgstr ""
1282 "Jeśli I<pathname> jest względna a I<dirfd> ma wartość specjalną B<AT_FDCWD>, "
1283 "to I<pathname> jest interpretowana w odniesieniu do bieżącego katalogu "
1284 "roboczego procesu wywołującego (jak B<stat>() i B<lstat>())."
1285
1286 #. type: Plain text
1287 #: debian-trixie fedora-44 fedora-rawhide
1288 msgid "If I<pathname> is absolute, then I<dirfd> is ignored."
1289 msgstr ""
1290 "Jeśli ścieżka I<pathname> jest bezwzględna, to I<dirfd> jest ignorowane."
1291
1292 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1293 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1294 #. type: Plain text
1295 #: debian-trixie
1296 msgid ""
1297 "If I<pathname> is an empty string, operate on the file referred to by "
1298 "I<dirfd> (which may have been obtained using the B<open>(2) B<O_PATH> "
1299 "flag). In this case, I<dirfd> can refer to any type of file, not just a "
1300 "directory, and the behavior of B<fstatat>() is similar to that of "
1301 "B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the current "
1302 "working directory. This flag is Linux-specific; define B<_GNU_SOURCE> to "
1303 "obtain its definition."
1304 msgstr ""
1305 "Jeśli I<pathname> jest łańcuchem pustym, to działa na pliku do którego "
1306 "odnosi się I<dirfd> (który mógł zostać pozyskany za pomocą znacznika "
1307 "B<O_PATH> B<open>(2)). W takim przypadku I<dirfd> może odnosić się do "
1308 "każdego typu pliku, nie tylko katalogu, a zachowanie B<fstatat>() jest "
1309 "podobne do B<fstat>(). Jeśli I<dirfd> wynosi B<AT_FDCWD>, to wywołanie "
1310 "działa w bieżącym katalogu roboczym. Jest to opcja charakterystyczna dla "
1311 "Linuksa, proszę zdefiniować B<_GNU_SOURCE>, aby dostać się do jej definicji."
1312
1313 #. type: Plain text
1314 #: debian-trixie fedora-44 fedora-rawhide
1315 msgid ""
1316 "Don't automount the terminal (\"basename\") component of I<pathname.> Since "
1317 "Linux 3.1 this flag is ignored. Since Linux 4.11 this flag is implied."
1318 msgstr ""
1319 "Nie dokonuje automatycznego montowania składowej terminala (\\[Bq]basename\\"
1320 "[rq]) ścieżki z I<pathname>. Od Linuksa 3.1 znacznik ten jest ignorowany. Od "
1321 "Linuksa 4.11 znacznik ten jest implikowany."
1322
1323 #. type: Plain text
1324 #: debian-trixie fedora-44 fedora-rawhide
1325 msgid ""
1326 "If I<pathname> is a symbolic link, do not dereference it: instead return "
1327 "information about the link itself, like B<lstat>(). (By default, "
1328 "B<fstatat>() dereferences symbolic links, like B<stat>().)"
1329 msgstr ""
1330 "Jeśli I<pathname> jest dowiązaniem symbolicznym, nie podąża za nim, w zamian "
1331 "zwracając informacje o samym dowiązaniu, jak B<lstat>(). Domyślnie "
1332 "B<fstatat> () podąża za dowiązaniami symbolicznymi, jak B<stat>().)"
1333
1334 #. type: Plain text
1335 #: debian-trixie fedora-44 fedora-rawhide
1336 msgid ""
1337 "Search permission is denied for one of the directories in the path prefix of "
1338 "I<pathname>. (See also B<path_resolution>(7).)"
1339 msgstr ""
1340 "Brak uprawnień do przeszukiwania jednego z katalogów w ścieżce zaczynającej "
1341 "I<pathname> (zob. też B<path_resolution>(7))."
1342
1343 #. type: Plain text
1344 #: debian-trixie fedora-44 fedora-rawhide
1345 msgid ""
1346 "(B<fstatat>()) I<pathname> is relative but I<dirfd> is neither B<AT_FDCWD> "
1347 "nor a valid file descriptor."
1348 msgstr ""
1349 "(B<fstatat>()) I<pathname> jest względne, lecz I<dirfd> nie wynosi ani "
1350 "B<AT_FDCWD>, ani nie jest prawidłowym deskryptorem pliku."
1351
1352 #. type: Plain text
1353 #: debian-trixie fedora-44 fedora-rawhide
1354 msgid "I<pathname> is too long."
1355 msgstr "Ścieżka I<pathname> jest zbyt długa."
1356
1357 #. type: Plain text
1358 #: debian-trixie fedora-44 fedora-rawhide
1359 msgid ""
1360 "A component of I<pathname> does not exist or is a dangling symbolic link."
1361 msgstr ""
1362 "Składnik I<pathname> nie istnieje lub jest wiszącym dowiązaniem symbolicznym."
1363
1364 #. type: Plain text
1365 #: debian-trixie fedora-44 fedora-rawhide
1366 msgid ""
1367 "I<pathname> is an empty string and B<AT_EMPTY_PATH> was not specified in "
1368 "I<flags>."
1369 msgstr ""
1370 "I<pathname> jest łańcuchem pustym, a we I<flags> nie podano B<AT_EMPTY_PATH>."
1371
1372 #. type: Plain text
1373 #: debian-trixie fedora-44 fedora-rawhide
1374 msgid "A component of the path prefix of I<pathname> is not a directory."
1375 msgstr "Składnik ścieżki I<pathname> nie jest katalogiem."
1376
1377 #. type: Plain text
1378 #: debian-trixie fedora-44 fedora-rawhide
1379 msgid ""
1380 "(B<fstatat>()) I<pathname> is relative and I<dirfd> is a file descriptor "
1381 "referring to a file other than a directory."
1382 msgstr ""
1383 "(B<fstatat>()) I<pathname> jest względna, a I<dirfd> jest deskryptorem "
1384 "pliku odnoszącym się do pliku, zamiast do katalogu."
1385
1386 #. type: Plain text
1387 #: debian-trixie fedora-44 fedora-rawhide
1388 msgid ""
1389 "I<pathname> or I<fd> refers to a file whose size, inode number, or number of "
1390 "blocks cannot be represented in, respectively, the types I<off_t>, I<ino_t>, "
1391 "or I<blkcnt_t>. This error can occur when, for example, an application "
1392 "compiled on a 32-bit platform without I<-D_FILE_OFFSET_BITS=64> calls "
1393 "B<stat>() on a file whose size exceeds I<(1E<lt>E<lt>31)-1> bytes."
1394 msgstr ""
1395 "I<pathname> lub I<fd> odnosi się do pliku, numeru i-węzła lub numeru bloków, "
1396 "których rozmiar nie jest reprezentowalny w - odpowiednio - typie I<off_t>, "
1397 "I<ino_t>, I<blkcnt_t>. Błąd ten może wystąpić na przykład wtedy, gdy "
1398 "aplikacja skompilowana na platformie 32-bitowej bez I<-"
1399 "D_FILE_OFFSET_BITS=64> wywoła B<stat> () na pliku, którego rozmiar jest "
1400 "większy niż I<(1E<lt>E<lt>31)-1> bajtów."
1401
1402 #. type: Plain text
1403 #: debian-trixie fedora-44 fedora-rawhide
1404 msgid "POSIX.1-2008."
1405 msgstr "POSIX.1-2008."
1406
1407 #. type: Plain text
1408 #: debian-trixie fedora-44 fedora-rawhide
1409 #, no-wrap
1410 msgid ""
1411 "#include E<lt>stdint.hE<gt>\n"
1412 "#include E<lt>stdio.hE<gt>\n"
1413 "#include E<lt>stdlib.hE<gt>\n"
1414 "#include E<lt>sys/stat.hE<gt>\n"
1415 "#include E<lt>sys/sysmacros.hE<gt>\n"
1416 "#include E<lt>time.hE<gt>\n"
1417 "\\&\n"
1418 "int\n"
1419 "main(int argc, char *argv[])\n"
1420 "{\n"
1421 " struct stat sb;\n"
1422 "\\&\n"
1423 " if (argc != 2) {\n"
1424 " fprintf(stderr, \"Usage: %s E<lt>pathnameE<gt>\\[rs]n\", argv[0]);\n"
1425 " exit(EXIT_FAILURE);\n"
1426 " }\n"
1427 "\\&\n"
1428 " if (lstat(argv[1], &sb) == -1) {\n"
1429 " perror(\"lstat\");\n"
1430 " exit(EXIT_FAILURE);\n"
1431 " }\n"
1432 "\\&\n"
1433 " printf(\"ID of containing device: [%x,%x]\\[rs]n\",\n"
1434 " major(sb.st_dev),\n"
1435 " minor(sb.st_dev));\n"
1436 "\\&\n"
1437 " printf(\"File type: \");\n"
1438 "\\&\n"
1439 " switch (sb.st_mode & S_IFMT) {\n"
1440 " case S_IFBLK: printf(\"block device\\[rs]n\"); break;\n"
1441 " case S_IFCHR: printf(\"character device\\[rs]n\"); break;\n"
1442 " case S_IFDIR: printf(\"directory\\[rs]n\"); break;\n"
1443 " case S_IFIFO: printf(\"FIFO/pipe\\[rs]n\"); break;\n"
1444 " case S_IFLNK: printf(\"symlink\\[rs]n\"); break;\n"
1445 " case S_IFREG: printf(\"regular file\\[rs]n\"); break;\n"
1446 " case S_IFSOCK: printf(\"socket\\[rs]n\"); break;\n"
1447 " default: printf(\"unknown?\\[rs]n\"); break;\n"
1448 " }\n"
1449 "\\&\n"
1450 " printf(\"I-node number: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1451 "\\&\n"
1452 " printf(\"Mode: %jo (octal)\\[rs]n\",\n"
1453 " (uintmax_t) sb.st_mode);\n"
1454 "\\&\n"
1455 " printf(\"Link count: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1456 " printf(\"Ownership: UID=%ju GID=%ju\\[rs]n\",\n"
1457 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1458 "\\&\n"
1459 " printf(\"Preferred I/O block size: %jd bytes\\[rs]n\",\n"
1460 " (intmax_t) sb.st_blksize);\n"
1461 " printf(\"File size: %jd bytes\\[rs]n\",\n"
1462 " (intmax_t) sb.st_size);\n"
1463 " printf(\"Blocks allocated: %jd\\[rs]n\",\n"
1464 " (intmax_t) sb.st_blocks);\n"
1465 "\\&\n"
1466 " printf(\"Last status change: %s\", ctime(&sb.st_ctime));\n"
1467 " printf(\"Last file access: %s\", ctime(&sb.st_atime));\n"
1468 " printf(\"Last file modification: %s\", ctime(&sb.st_mtime));\n"
1469 "\\&\n"
1470 " exit(EXIT_SUCCESS);\n"
1471 "}\n"
1472 msgstr ""
1473 "#include E<lt>stdint.hE<gt>\n"
1474 "#include E<lt>stdio.hE<gt>\n"
1475 "#include E<lt>stdlib.hE<gt>\n"
1476 "#include E<lt>sys/stat.hE<gt>\n"
1477 "#include E<lt>sys/sysmacros.hE<gt>\n"
1478 "#include E<lt>time.hE<gt>\n"
1479 "\\&\n"
1480 "int\n"
1481 "main(int argc, char *argv[])\n"
1482 "{\n"
1483 " struct stat sb;\n"
1484 "\\&\n"
1485 " if (argc != 2) {\n"
1486 " fprintf(stderr, \"Użycie: %s E<lt>ścieżkaE<gt>\\[rs]n\", argv[0]);\n"
1487 " exit(EXIT_FAILURE);\n"
1488 " }\n"
1489 "\\&\n"
1490 " if (lstat(argv[1], &sb) == -1) {\n"
1491 " perror(\"lstat\");\n"
1492 " exit(EXIT_FAILURE);\n"
1493 " }\n"
1494 "\\&\n"
1495 " printf(\"ID urządzenia: [%x,%x]\\[rs]n\",\n"
1496 " major(sb.st_dev),\n"
1497 " minor(sb.st_dev));\n"
1498 "\\&\n"
1499 " printf(\"Typ pliku: \");\n"
1500 "\\&\n"
1501 " switch (sb.st_mode & S_IFMT) {\n"
1502 " case S_IFBLK: printf(\"urządzenie blokowe\\[rs]n\"); break;\n"
1503 " case S_IFCHR: printf(\"urządzenie znakowe\\[rs]n\"); break;\n"
1504 " case S_IFDIR: printf(\"katalog\\[rs]n\"); break;\n"
1505 " case S_IFIFO: printf(\"FIFO/potok\\[rs]n\"); break;\n"
1506 " case S_IFLNK: printf(\"dowiązanie symboliczne\\[rs]n\"); break;\n"
1507 " case S_IFREG: printf(\"zwykły plik\\[rs]n\"); break;\n"
1508 " case S_IFSOCK: printf(\"gniazdo\\[rs]n\"); break;\n"
1509 " default: printf(\"typ nieznany\\[rs]n\"); break;\n"
1510 " }\n"
1511 "\\&\n"
1512 " printf(\"Numer i-węzła: %ju\\[rs]n\", (uintmax_t) sb.st_ino);\n"
1513 "\\&\n"
1514 " printf(\"Tryb: %jo (ósemkowo)\\[rs]n\",\n"
1515 " (uintmax_t) sb.st_mode);\n"
1516 "\\&\n"
1517 " printf(\"Liczba dowiązań: %ju\\[rs]n\", (uintmax_t) sb.st_nlink);\n"
1518 " printf(\"Właściciel: UID=%ju GID=%ju\\[rs]n\",\n"
1519 " (uintmax_t) sb.st_uid, (uintmax_t) sb.st_gid);\n"
1520 "\\&\n"
1521 " printf(\"Preferowany rozmiar bloku I/O: %jd bajtów\\[rs]n\",\n"
1522 " (intmax_t) sb.st_blksize);\n"
1523 " printf(\"Rozmiar bloku: %jd bajtów\\[rs]n\",\n"
1524 " (intmax_t) sb.st_size);\n"
1525 " printf(\"Liczba przydzielonych bloków: %jd\\[rs]n\",\n"
1526 " (intmax_t) sb.st_blocks);\n"
1527 "\\&\n"
1528 " printf(\"Ostatnia zmiana stanu: %s\", ctime(&sb.st_ctime));\n"
1529 " printf(\"Ostatni dostęp do pliku: %s\", ctime(&sb.st_atime));\n"
1530 " printf(\"Ostatnia zmiana pliku: %s\", ctime(&sb.st_mtime));\n"
1531 "\\&\n"
1532 " exit(EXIT_SUCCESS);\n"
1533 "}\n"
1534
1535 #. type: TH
1536 #: fedora-44 fedora-rawhide
1537 #, no-wrap
1538 msgid "2025-01-09"
1539 msgstr "9 stycznia 2025 r."
1540
1541 #. type: TH
1542 #: fedora-44 fedora-rawhide
1543 #, no-wrap
1544 msgid "Linux man-pages 6.13"
1545 msgstr "Linux man-pages 6.13"
1546
1547 #. commit 65cfc6722361570bfe255698d9cd4dccaf47570d
1548 #. Before glibc 2.16, defining _ATFILE_SOURCE sufficed
1549 #. type: Plain text
1550 #: fedora-44 fedora-rawhide
1551 msgid ""
1552 "If I<pathname> is an empty string (or NULL, since Linux 6.11) operate on "
1553 "the file referred to by I<dirfd> (which may have been obtained using the "
1554 "B<open>(2) B<O_PATH> flag). In this case, I<dirfd> can refer to any type "
1555 "of file, not just a directory, and the behavior of B<fstatat>() is similar "
1556 "to that of B<fstat>(). If I<dirfd> is B<AT_FDCWD>, the call operates on the "
1557 "current working directory. This flag is Linux-specific; define "
1558 "B<_GNU_SOURCE> to obtain its definition."
1559 msgstr ""
1560 "Jeśli I<pathname> jest łańcuchem pustym (lub NULL, od Linuksa 6.11), to "
1561 "działa na pliku do którego odnosi się I<dirfd> (który mógł zostać pozyskany "
1562 "za pomocą znacznika B<O_PATH> B<open>(2)). W takim przypadku I<dirfd> może "
1563 "odnosić się do każdego typu pliku, nie tylko katalogu, a zachowanie "
1564 "B<fstatat>() jest podobne do B<fstat>(). Jeśli I<dirfd> wynosi B<AT_FDCWD>, "
1565 "to wywołanie działa w bieżącym katalogu roboczym. Jest to opcja "
1566 "charakterystyczna dla Linuksa, proszę zdefiniować B<_GNU_SOURCE>, aby dostać "
1567 "się do jej definicji."
1568
1569 #. type: TH
1570 #: mageia-cauldron
1571 #, no-wrap
1572 msgid "Linux man-pages 6.17"
1573 msgstr "Linux man-pages 6.17"
1574
1575 #. type: TH
1576 #: opensuse-leap-16-1 opensuse-tumbleweed
1577 #, no-wrap
1578 msgid "Linux man-pages (unreleased)"
1579 msgstr "Linux man-pages (niewydane)"