Debian Codegraph @

po/pl/man2/copy_file_range.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 # Michał Kułach <[email protected]>, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.26.3.1\n"
8 "POT-Creation-Date: 2026-06-05 06:21+0200\n"
9 "PO-Revision-Date: 2026-03-15 12:26+0100\n"
10 "Last-Translator: Michał Kułach <[email protected]>\n"
11 "Language-Team: Polish <[email protected]>\n"
12 "Language: pl\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
17 "|| n%100>=20) ? 1 : 2);\n"
18 "X-Generator: Lokalize 25.04.0\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "copy_file_range"
25 msgstr "copy_file_range"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 lutego 2026 r."
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, no-wrap
37 msgid "Linux man-pages 6.18"
38 msgstr "Linux man-pages 6.18"
39
40 #. type: SH
41 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
42 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
43 #, no-wrap
44 msgid "NAME"
45 msgstr "NAZWA"
46
47 #. type: Plain text
48 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
49 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
50 msgid "copy_file_range - Copy a range of data from one file to another"
51 msgstr "copy_file_range - kopiuje zakres danych z jednego pliku do drugiego"
52
53 #. type: SH
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 #, no-wrap
57 msgid "LIBRARY"
58 msgstr "BIBLIOTEKA"
59
60 #. type: Plain text
61 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
62 #: opensuse-leap-16-1 opensuse-tumbleweed
63 msgid "Standard C library (I<libc>,\\ I<-lc>)"
64 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
65
66 #. type: SH
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, no-wrap
70 msgid "SYNOPSIS"
71 msgstr "SKŁADNIA"
72
73 #. type: Plain text
74 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
75 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
76 #, no-wrap
77 msgid ""
78 "B<#define _GNU_SOURCE>\n"
79 "B<#define _FILE_OFFSET_BITS 64>\n"
80 "B<#include E<lt>unistd.hE<gt>>\n"
81 msgstr ""
82 "B<#define _GNU_SOURCE>\n"
83 "B<#define _FILE_OFFSET_BITS 64>\n"
84 "B<#include E<lt>unistd.hE<gt>>\n"
85
86 #. type: Plain text
87 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
88 #: opensuse-leap-16-1 opensuse-tumbleweed
89 #, no-wrap
90 msgid ""
91 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
92 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
93 "B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
94 msgstr ""
95 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
96 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
97 "B< size_t >I<size>B<, unsigned int >I<flags>B<);>\n"
98
99 #. type: SH
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, no-wrap
103 msgid "DESCRIPTION"
104 msgstr "OPIS"
105
106 #. type: Plain text
107 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
108 #: opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "The B<copy_file_range>() system call performs an in-kernel copy between two "
111 "file descriptors without the additional cost of transferring data from the "
112 "kernel to user space and then back into the kernel. It copies up to I<size> "
113 "bytes of data from the source file descriptor I<fd_in> to the target file "
114 "descriptor I<fd_out>, overwriting any data that exists within the requested "
115 "range of the target file."
116 msgstr ""
117 "Wywołanie systemowe B<copy_file_range>() przeprowadza kopiowanie wewnątrz "
118 "jądra pomiędzy dwoma deskryptorami plików, bez dodatkowego kosztu transferu "
119 "danych z jądro do przestrzeni użytkownika, a następnie z powrotem do jądra. "
120 "Kopiuje maksymalnie I<size> bajtów danych ze źródłowego deskryptora pliku "
121 "I<fd_in> do docelowego deskryptora pliku I<fd_out>, nadpisując wszelkie "
122 "dane, które istniały w żądanym zakresie pliku docelowego."
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "The following semantics apply for I<off_in>, and similar statements apply to "
129 "I<off_out>:"
130 msgstr ""
131 "I<off_in> jest objęte następującą semantyką i podobne stwierdzenia odnoszą "
132 "się do I<off_out>:"
133
134 #. type: IP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "\\[bu]"
139 msgstr "\\[bu]"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 msgid ""
145 "If I<off_in> is NULL, then bytes are read from I<fd_in> starting from the "
146 "file offset, and the file offset is adjusted by the number of bytes copied."
147 msgstr ""
148 "Jeśli I<off_in> wynosi NULL, to bajty są odczytywane z I<fd_in> począwszy od "
149 "przesunięcia pliku, a przesunięcie pliku jest dostosowywane o liczbę "
150 "skopiowanych bajtów."
151
152 #. type: Plain text
153 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
154 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
155 msgid ""
156 "If I<off_in> is not NULL, then I<off_in> must point to a buffer that "
157 "specifies the starting offset where bytes from I<fd_in> will be read. The "
158 "file offset of I<fd_in> is not changed, but I<off_in> is adjusted "
159 "appropriately."
160 msgstr ""
161 "Jeśli I<off_in> nie wynosi NULL, to I<off_in> musi wskazywać na bufor "
162 "określający początkowe przesunięcie, od którego zostaną odczytane bajty z "
163 "I<fd_in>. Przesunięcie pliku I<fd_in> nie jest zmieniane, ale I<off_in> jest "
164 "odpowiednio dostosowywane."
165
166 #. type: Plain text
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 msgid ""
170 "I<fd_in> and I<fd_out> can refer to the same file. If they refer to the "
171 "same file, then the source and target ranges are not allowed to overlap."
172 msgstr ""
173 "I<fd_in> i I<fd_out> mogą odnosić się do tego samego pliku. Jeśli odnoszą "
174 "się do tego samego pliku, to zakres źródłowy i docelowy nie mogą na siebie "
175 "nachodzić."
176
177 #. type: Plain text
178 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
179 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
180 msgid ""
181 "The I<flags> argument is provided to allow for future extensions and "
182 "currently must be set to 0."
183 msgstr ""
184 "Argument I<flags> jest przeznaczony na przyszłe rozszerzenia i obecnie musi "
185 "być ustawiony na 0."
186
187 #. type: SH
188 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
189 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
190 #, no-wrap
191 msgid "RETURN VALUE"
192 msgstr "WARTOŚĆ ZWRACANA"
193
194 #. type: Plain text
195 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
196 #: opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "Upon successful completion, B<copy_file_range>() will return the number of "
199 "bytes copied between files. This could be less than the size originally "
200 "requested. If the file offset of I<fd_in> is at or past the end of file, no "
201 "bytes are copied, and B<copy_file_range>() returns zero."
202 msgstr ""
203 "Po pomyślnym zakończeniu, B<copy_file_range>() zwróci liczbę bajtów "
204 "skopiowanych pomiędzy dwoma plikami. Może być to rozmiar mniejszy od "
205 "pierwotnie żądanego. Jeśli przesunięcie pliku I<fd_in> znajduje się na "
206 "końcu, lub za końcem, pliku, to nie są kopiowane żadne bajty, a "
207 "B<copy_file_range>() zwraca zero."
208
209 #. type: Plain text
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 msgid ""
213 "On error, B<copy_file_range>() returns -1 and I<errno> is set to indicate "
214 "the error."
215 msgstr ""
216 "W razie wystąpienia błędu B<copy_file_range> zwraca -1 i ustawia I<errno>, "
217 "wskazując błąd."
218
219 #. type: SH
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 #, no-wrap
223 msgid "ERRORS"
224 msgstr "BŁĘDY"
225
226 #. type: TP
227 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
228 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
229 #, no-wrap
230 msgid "B<EBADF>"
231 msgstr "B<EBADF>"
232
233 #. type: Plain text
234 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
235 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
236 msgid "One or more file descriptors are not valid."
237 msgstr "Jeden lub więcej deskryptorów plików nie jest prawidłowych."
238
239 #. type: Plain text
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 msgid "I<fd_in> is not open for reading; or I<fd_out> is not open for writing."
243 msgstr ""
244 "I<fd_in> nie jest otwarty do odczytu; albo I<fd_out> nie jest otwarty do "
245 "zapisu."
246
247 #. type: Plain text
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 msgid ""
251 "The B<O_APPEND> flag is set for the open file description (see B<open>(2)) "
252 "referred to by the file descriptor I<fd_out>."
253 msgstr ""
254 "Znacznik B<O_APPEND> jest ustawiony na opis otwartego pliku (ODF, zob. "
255 "B<open>(2)), do którego odnosi się deskryptor pliku I<fd_out>."
256
257 #. type: TP
258 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
259 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
260 #, no-wrap
261 msgid "B<EFBIG>"
262 msgstr "B<EFBIG>"
263
264 #. type: Plain text
265 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
266 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
267 msgid ""
268 "An attempt was made to write at a position past the maximum file offset the "
269 "kernel supports."
270 msgstr ""
271 "Podjęto próbę zapisu w pozycji poza maksymalnym przesunięciem pliku "
272 "obsługiwanym przez jądro."
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid ""
278 "An attempt was made to write a range that exceeds the allowed maximum file "
279 "size. The maximum file size differs between filesystem implementations and "
280 "can be different from the maximum allowed file offset."
281 msgstr ""
282 "Podjęto próbę zapisu zakresu, który przekracza maksymalny dopuszczalny "
283 "rozmiar pliku. Maksymalny rozmiar pliku różni się pomiędzy implementacjami "
284 "systemów plików i może być inny niż maksymalne dopuszczalne przesunięcie "
285 "pliku."
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid ""
291 "An attempt was made to write beyond the process's file size resource limit. "
292 "This may also result in the process receiving a B<SIGXFSZ> signal."
293 msgstr ""
294 "Podjęto próbę zapisu poza limit zasobu procesu dotyczący rozmiaru pliku. "
295 "Może to też spowodować otrzymanie przez proces sygnału B<SIGXFSZ>."
296
297 #. type: TP
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "B<EINVAL>"
302 msgstr "B<EINVAL>"
303
304 #. type: Plain text
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 msgid "The I<flags> argument is not 0."
308 msgstr "Argument I<flags> nie wynosi 0."
309
310 #. type: Plain text
311 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
312 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
313 msgid ""
314 "I<fd_in> and I<fd_out> refer to the same file and the source and target "
315 "ranges overlap."
316 msgstr ""
317 "I<fd_in> i I<fd_out> odnoszą się do tego samego pliku, a źródłowy i docelowy "
318 "zakres nachodzą na siebie."
319
320 #. type: Plain text
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 msgid "Either I<fd_in> or I<fd_out> is not a regular file."
324 msgstr "I<fd_in> albo I<fd_out> nie jest zwykłym plikiem."
325
326 #. type: TP
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "B<EIO>"
331 msgstr "B<EIO>"
332
333 #. type: Plain text
334 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
335 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
336 msgid "A low-level I/O error occurred while copying."
337 msgstr "Przy kopiowaniu wystąpił niskopoziomowy błąd wejścia/wyjścia."
338
339 #. type: TP
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "B<EISDIR>"
344 msgstr "B<EISDIR>"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid "Either I<fd_in> or I<fd_out> refers to a directory."
350 msgstr "I<fd_in> albo I<fd_out> odnoszą się do katalogu."
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<ENOMEM>"
357 msgstr "B<ENOMEM>"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid "Out of memory."
363 msgstr "Brak pamięci."
364
365 #. type: TP
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, no-wrap
369 msgid "B<ENOSPC>"
370 msgstr "B<ENOSPC>"
371
372 #. type: Plain text
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 msgid ""
376 "There is not enough space on the target filesystem to complete the copy."
377 msgstr ""
378 "Na docelowym systemie plików nie ma wystarczająco dużo miejsca, aby ukończyć "
379 "kopiowanie."
380
381 #. type: TP
382 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
383 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
384 #, no-wrap
385 msgid "B<EOPNOTSUPP> (since Linux 5.19)"
386 msgstr "B<EOPNOTSUPP> (od Linuksa 5.19)"
387
388 #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b
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 "The filesystem does not support this operation."
393 msgstr "System plików nie obsługuje tej operacji."
394
395 #. type: TP
396 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
397 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
398 #, no-wrap
399 msgid "B<EOVERFLOW>"
400 msgstr "B<EOVERFLOW>"
401
402 #. type: Plain text
403 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
404 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
405 msgid ""
406 "The requested source or destination range is too large to represent in the "
407 "specified data types."
408 msgstr ""
409 "Żądany zakres źródłowy lub docelowy jest zbyt duży, aby dało się go "
410 "przedstawić w podanych typach danych."
411
412 #. type: TP
413 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
414 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
415 #, no-wrap
416 msgid "B<EPERM>"
417 msgstr "B<EPERM>"
418
419 #. type: Plain text
420 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
421 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
422 msgid "I<fd_out> refers to an immutable file."
423 msgstr "I<fd_out> odnosi się do niezmiennego pliku (ang. immutable)."
424
425 #. type: TP
426 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
427 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
428 #, no-wrap
429 msgid "B<ETXTBSY>"
430 msgstr "B<ETXTBSY>"
431
432 #. type: Plain text
433 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
434 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
435 msgid "Either I<fd_in> or I<fd_out> refers to an active swap file."
436 msgstr "I<fd_in> albo I<fd_out> odnoszą się do aktywnego pliku wymiany."
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<EXDEV> (before Linux 5.3)"
443 msgstr "B<EXDEV> (przed Linuksem 5.3)"
444
445 #. commit 5dae222a5ff0c269730393018a5539cc970a4726
446 #. type: Plain text
447 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
448 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
449 msgid ""
450 "The files referred to by I<fd_in> and I<fd_out> are not on the same "
451 "filesystem."
452 msgstr ""
453 "Pliki, do których odnoszą się I<fd_in> i I<fd_out> nie są położone w tym "
454 "samym systemie plików."
455
456 #. type: TP
457 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
458 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
459 #, no-wrap
460 msgid "B<EXDEV> (since Linux 5.19)"
461 msgstr "B<EXDEV> (od Linuksa 5.19)"
462
463 #. commit 868f9f2f8e004bfe0d3935b1976f625b2924893b
464 #. type: Plain text
465 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
466 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
467 msgid ""
468 "The files referred to by I<fd_in> and I<fd_out> are not on the same "
469 "filesystem, and the source and target filesystems are not of the same type, "
470 "or do not support cross-filesystem copy."
471 msgstr ""
472 "Pliki, do których odnoszą się I<fd_in> i I<fd_out> nie są położone w tym "
473 "samym systemie plików, a źródłowy i docelowy system plików nie jest tego "
474 "samego typu lub nie obsługuje kopii pomiędzy systemami plików."
475
476 #. type: SH
477 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
478 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
479 #, no-wrap
480 msgid "VERSIONS"
481 msgstr "WERSJE"
482
483 #. type: Plain text
484 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
485 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
486 msgid ""
487 "A major rework of the kernel implementation occurred in Linux 5.3. Areas of "
488 "the API that weren't clearly defined were clarified and the API bounds are "
489 "much more strictly checked than on earlier kernels."
490 msgstr ""
491 "W Linuksie 5.3 doszło do znaczącej modyfikacji implementacji w jądrze. Jasno "
492 "zdefiniowano miejsca w API, którym wcześniej tego brakowało, a granice API "
493 "są znacznie ściślej sprawdzane, niż we wcześniejszych jądrach."
494
495 #. type: Plain text
496 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
497 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
498 msgid ""
499 "Since Linux 5.19, cross-filesystem copies can be achieved when both "
500 "filesystems are of the same type, and that filesystem implements support for "
501 "it. See BUGS for behavior prior to Linux 5.19."
502 msgstr ""
503 "Od Linuksa 5.19, możliwe jest kopiowanie pomiędzy systemami plików, jeśli "
504 "oba są tego samego typu i dany system plików zaimplementował wsparcie tej "
505 "operacji. W USTERKACH opisano zachowanie przed Linuksem 5.19."
506
507 #. type: Plain text
508 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
509 #: opensuse-tumbleweed
510 msgid ""
511 "Applications should target the behavior and requirements of Linux 5.19, that "
512 "was also backported to earlier stable kernels."
513 msgstr ""
514 "Aplikacje powinny dostosować się do zachowania i wymogów Linuksa 5.19, które "
515 "zostało również przeportowane na wcześniejsze stabilne jądra."
516
517 #. type: SH
518 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
519 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
520 #, no-wrap
521 msgid "STANDARDS"
522 msgstr "STANDARDY"
523
524 #. type: Plain text
525 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
526 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
527 msgid "Linux, GNU."
528 msgstr "Linux, GNU."
529
530 #. type: SH
531 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
532 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
533 #, no-wrap
534 msgid "HISTORY"
535 msgstr "HISTORIA"
536
537 #. type: Plain text
538 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
539 #: opensuse-tumbleweed
540 msgid "Linux 4.5."
541 msgstr "Linux 4.5."
542
543 #. glibc.git bad7a0c81f50 (2017-12-22; "copy_file_range: New function to copy file data")
544 #. glibc.git 5a659ccc0ec2 (2019-06-28; "io: Remove copy_file_range emulation [BZ #24744]")
545 #. type: Plain text
546 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
547 #: opensuse-tumbleweed
548 msgid ""
549 "Before glibc 2.30, starting with glibc 2.27, the glibc wrapper function "
550 "provided a user-space fallback implementation when the kernel did not "
551 "implement this system call. Since glibc 2.30, that fallback has been "
552 "removed; the function now fails with ENOSYS if the kernel lacks support "
553 "for .BR copy_file_range ()."
554 msgstr ""
555 "Przed glibc 2.30, zaczynając od glibc 2.27, funkcja opakowująca z glibc "
556 "zapewniała zapasową implementację w przestrzeni użytkownika, gdy jądro nie "
557 "obsługiwało tego wywołania systemowego. Od glibc 2.30 usunięto tę zapasową "
558 "implementację; gdy jądro nie obsługuje B<copy_file_range>(), funkcja zawodzi "
559 "teraz z błędem ENOSYS."
560
561 #. type: SH
562 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
563 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
564 #, no-wrap
565 msgid "NOTES"
566 msgstr "UWAGI"
567
568 #. type: Plain text
569 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
570 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
571 msgid ""
572 "If I<fd_in> is a sparse file, then B<copy_file_range>() may expand any "
573 "holes existing in the requested range. Users may benefit from calling "
574 "B<copy_file_range>() in a loop, and using the B<lseek>(2) B<SEEK_DATA> and "
575 "B<SEEK_HOLE> operations to find the locations of data segments."
576 msgstr ""
577 "Jeśli I<fd_in> jest rzadkim (ang. sparse) plikiem, to B<copy_file_range>() "
578 "może wykroczyć poza istniejące dziury w żądanym zakresie. Użytkownicy mogą "
579 "zechcieć wywoływać B<copy_file_range>() w pętli, korzystając z operacji "
580 "B<SEEK_DATA> i B<SEEK_HOLE> wywołania B<lseek>(2), aby odnaleźć położenie "
581 "segmentów danych."
582
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid ""
587 "B<copy_file_range>() gives filesystems an opportunity to implement \"copy "
588 "acceleration\" techniques, such as the use of reflinks (i.e., two or more "
589 "inodes that share pointers to the same copy-on-write disk blocks) or server-"
590 "side-copy (in the case of NFS)."
591 msgstr ""
592 "B<copy_file_range>() daje systemom plików sposobność na implementację "
593 "technik \\[Bq]przyspieszonego kopiowania\\[rq], takich jak korzystanie z "
594 "dowiązań lekkich (reflinków tj. dwóch lub więcej i-węzłów, które dzielą "
595 "wskaźniki do tych samych bloków dyskowych kopii przy zapisie) lub kopiowania "
596 "po stronie serwera (w przypadku NFS)."
597
598 #. type: Plain text
599 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
600 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
601 msgid ""
602 "B<_FILE_OFFSET_BITS> should be defined to be 64 in code that uses non-null "
603 "I<off_in> or I<off_out> or that takes the address of B<copy_file_range>, if "
604 "the code is intended to be portable to traditional 32-bit x86 and ARM "
605 "platforms where B<off_t>'s width defaults to 32 bits."
606 msgstr ""
607 "B<_FILE_OFFSET_BITS> powinno być zdefiniowane jako 64 w kodzie, który używa "
608 "wartości I<off_in> lub I<off_out> innych niż null lub takim, który przyjmuje "
609 "adres B<copy_file_range>, jeśli kod ma być przenośny na tradycyjne, 32-"
610 "bitowe platformy x86 i ARM, w których szerokość B<off_t> domyślnie wynosi 32 "
611 "bity."
612
613 #. type: SH
614 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
615 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
616 #, no-wrap
617 msgid "BUGS"
618 msgstr "USTERKI"
619
620 #. type: Plain text
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 msgid ""
624 "In Linux 5.3 to Linux 5.18, cross-filesystem copies were implemented by the "
625 "kernel, if the operation was not supported by individual filesystems. "
626 "However, on some virtual filesystems, the call failed to copy, while still "
627 "reporting success."
628 msgstr ""
629 "W Linuksie 5.3 do Linuksa 5.18, kopie pomiędzy systemami plików były "
630 "zaimplementowane w jądrze, jeśli operacja nie była obsługiwana przez "
631 "poszczególne systemy plików. Jednak w niektórych wirtualnych systemach "
632 "plików, kopiowanie się nie powodziło, a mimo to wywołanie wciąż zgłaszało "
633 "sukces."
634
635 #. type: SH
636 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
637 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
638 #, no-wrap
639 msgid "EXAMPLES"
640 msgstr "PRZYKŁADY"
641
642 #. type: Plain text
643 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
644 #: opensuse-leap-16-1 opensuse-tumbleweed
645 #, no-wrap
646 msgid ""
647 "#define _GNU_SOURCE\n"
648 "#define _FILE_OFFSET_BITS 64\n"
649 "#include E<lt>fcntl.hE<gt>\n"
650 "#include E<lt>stdio.hE<gt>\n"
651 "#include E<lt>stdlib.hE<gt>\n"
652 "#include E<lt>sys/stat.hE<gt>\n"
653 "#include E<lt>sys/types.hE<gt>\n"
654 "#include E<lt>unistd.hE<gt>\n"
655 "\\&\n"
656 "int\n"
657 "main(int argc, char *argv[])\n"
658 "{\n"
659 " int fd_in, fd_out;\n"
660 " off_t size, ret;\n"
661 " struct stat stat;\n"
662 "\\&\n"
663 " if (argc != 3) {\n"
664 " fprintf(stderr, \"Usage: %s E<lt>sourceE<gt> E<lt>destinationE<gt>\\[rs]n\", argv[0]);\n"
665 " exit(EXIT_FAILURE);\n"
666 " }\n"
667 "\\&\n"
668 " fd_in = open(argv[1], O_RDONLY);\n"
669 " if (fd_in == -1) {\n"
670 " perror(\"open (argv[1])\");\n"
671 " exit(EXIT_FAILURE);\n"
672 " }\n"
673 "\\&\n"
674 " if (fstat(fd_in, &stat) == -1) {\n"
675 " perror(\"fstat\");\n"
676 " exit(EXIT_FAILURE);\n"
677 " }\n"
678 "\\&\n"
679 " size = stat.st_size;\n"
680 "\\&\n"
681 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
682 " if (fd_out == -1) {\n"
683 " perror(\"open (argv[2])\");\n"
684 " exit(EXIT_FAILURE);\n"
685 " }\n"
686 "\\&\n"
687 " do {\n"
688 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n"
689 " if (ret == -1) {\n"
690 " perror(\"copy_file_range\");\n"
691 " exit(EXIT_FAILURE);\n"
692 " }\n"
693 "\\&\n"
694 " size -= ret;\n"
695 " } while (size E<gt> 0 && ret E<gt> 0);\n"
696 "\\&\n"
697 " close(fd_in);\n"
698 " close(fd_out);\n"
699 " exit(EXIT_SUCCESS);\n"
700 "}\n"
701 msgstr ""
702 "#define _GNU_SOURCE\n"
703 "#define _FILE_OFFSET_BITS 64\n"
704 "#include E<lt>fcntl.hE<gt>\n"
705 "#include E<lt>stdio.hE<gt>\n"
706 "#include E<lt>stdlib.hE<gt>\n"
707 "#include E<lt>sys/stat.hE<gt>\n"
708 "#include E<lt>sys/types.hE<gt>\n"
709 "#include E<lt>unistd.hE<gt>\n"
710 "\\&\n"
711 "int\n"
712 "main(int argc, char *argv[])\n"
713 "{\n"
714 " int fd_in, fd_out;\n"
715 " off_t size, ret;\n"
716 " struct stat stat;\n"
717 "\\&\n"
718 " if (argc != 3) {\n"
719 " fprintf(stderr, \"Użycie: %s E<lt>źródłoE<gt> E<lt>celE<gt>\\[rs]n\", argv[0]);\n"
720 " exit(EXIT_FAILURE);\n"
721 " }\n"
722 "\\&\n"
723 " fd_in = open(argv[1], O_RDONLY);\n"
724 " if (fd_in == -1) {\n"
725 " perror(\"open (argv[1])\");\n"
726 " exit(EXIT_FAILURE);\n"
727 " }\n"
728 "\\&\n"
729 " if (fstat(fd_in, &stat) == -1) {\n"
730 " perror(\"fstat\");\n"
731 " exit(EXIT_FAILURE);\n"
732 " }\n"
733 "\\&\n"
734 " size = stat.st_size;\n"
735 "\\&\n"
736 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
737 " if (fd_out == -1) {\n"
738 " perror(\"open (argv[2])\");\n"
739 " exit(EXIT_FAILURE);\n"
740 " }\n"
741 "\\&\n"
742 " do {\n"
743 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, size, 0);\n"
744 " if (ret == -1) {\n"
745 " perror(\"copy_file_range\");\n"
746 " exit(EXIT_FAILURE);\n"
747 " }\n"
748 "\\&\n"
749 " size -= ret;\n"
750 " } while (size E<gt> 0 && ret E<gt> 0);\n"
751 "\\&\n"
752 " close(fd_in);\n"
753 " close(fd_out);\n"
754 " exit(EXIT_SUCCESS);\n"
755 "}\n"
756
757 #. SRC END
758 #. type: SH
759 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
760 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
761 #, no-wrap
762 msgid "SEE ALSO"
763 msgstr "ZOBACZ TAKŻE"
764
765 #. type: Plain text
766 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
767 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
768 msgid "B<lseek>(2), B<sendfile>(2), B<splice>(2)"
769 msgstr "B<lseek>(2), B<sendfile>(2), B<splice>(2)"
770
771 #. type: TH
772 #: debian-trixie
773 #, no-wrap
774 msgid "2024-06-15"
775 msgstr "15 czerwca 2024 r."
776
777 #. type: TH
778 #: debian-trixie
779 #, no-wrap
780 msgid "Linux man-pages 6.9.1"
781 msgstr "Linux man-pages 6.9.1"
782
783 #. type: Plain text
784 #: debian-trixie
785 msgid "Standard C library (I<libc>, I<-lc>)"
786 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
787
788 #. type: Plain text
789 #: debian-trixie
790 #, no-wrap
791 msgid ""
792 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
793 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
794 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
795 msgstr ""
796 "B<ssize_t copy_file_range(int >I<fd_in>B<, off_t *_Nullable >I<off_in>B<,>\n"
797 "B< int >I<fd_out>B<, off_t *_Nullable >I<off_out>B<,>\n"
798 "B< size_t >I<len>B<, unsigned int >I<flags>B<);>\n"
799
800 #. type: Plain text
801 #: debian-trixie
802 msgid ""
803 "The B<copy_file_range>() system call performs an in-kernel copy between two "
804 "file descriptors without the additional cost of transferring data from the "
805 "kernel to user space and then back into the kernel. It copies up to I<len> "
806 "bytes of data from the source file descriptor I<fd_in> to the target file "
807 "descriptor I<fd_out>, overwriting any data that exists within the requested "
808 "range of the target file."
809 msgstr ""
810 "Wywołanie systemowe B<copy_file_range>() przeprowadza kopiowanie wewnątrz "
811 "jądra pomiędzy dwoma deskryptorami plików, bez dodatkowego kosztu transferu "
812 "danych z jądro do przestrzeni użytkownika, a następnie z powrotem do jądra. "
813 "Kopiuje maksymalnie I<len> bajtów danych ze źródłowego deskryptora pliku "
814 "I<fd_in> do docelowego deskryptora pliku I<fd_out>, nadpisując wszelkie "
815 "dane, które istniały w żądanym zakresie pliku docelowego."
816
817 #. type: Plain text
818 #: debian-trixie
819 msgid ""
820 "Upon successful completion, B<copy_file_range>() will return the number of "
821 "bytes copied between files. This could be less than the length originally "
822 "requested. If the file offset of I<fd_in> is at or past the end of file, no "
823 "bytes are copied, and B<copy_file_range>() returns zero."
824 msgstr ""
825 "Po pomyślnym zakończeniu, B<copy_file_range>() zwróci liczbę bajtów "
826 "skopiowanych pomiędzy dwoma plikami. Może być to długość mniejsza od "
827 "pierwotnie żądanej. Jeśli przesunięcie pliku I<fd_in> znajduje się na końcu, "
828 "lub za końcem, pliku, to nie są kopiowane żadne bajty, a "
829 "B<copy_file_range>() zwraca zero."
830
831 #. type: Plain text
832 #: debian-trixie fedora-44 fedora-rawhide
833 msgid ""
834 "Applications should target the behaviour and requirements of Linux 5.19, "
835 "that was also backported to earlier stable kernels."
836 msgstr ""
837 "Aplikacje powinny dostosować się do zachowania i wymogów Linuksa 5.19, które "
838 "zostało również przeportowane na wcześniejsze stabilne jądra."
839
840 #. https://sourceware.org/git/?p=glibc.git;a=commit;f=posix/unistd.h;h=bad7a0c81f501fbbcc79af9eaa4b8254441c4a1f
841 #. type: Plain text
842 #: debian-trixie fedora-44 fedora-rawhide
843 msgid ""
844 "Linux 4.5, but glibc 2.27 provides a user-space emulation when it is not "
845 "available."
846 msgstr ""
847 "Linux 4.5, lecz glibc 2.27 dostarcza emulację w przestrzeni użytkownika tam, "
848 "gdzie wywołanie nie jest dostępne."
849
850 #. type: Plain text
851 #: debian-trixie
852 #, no-wrap
853 msgid ""
854 "#define _GNU_SOURCE\n"
855 "#define _FILE_OFFSET_BITS 64\n"
856 "#include E<lt>fcntl.hE<gt>\n"
857 "#include E<lt>stdio.hE<gt>\n"
858 "#include E<lt>stdlib.hE<gt>\n"
859 "#include E<lt>sys/stat.hE<gt>\n"
860 "#include E<lt>sys/types.hE<gt>\n"
861 "#include E<lt>unistd.hE<gt>\n"
862 "\\&\n"
863 "int\n"
864 "main(int argc, char *argv[])\n"
865 "{\n"
866 " int fd_in, fd_out;\n"
867 " off_t len, ret;\n"
868 " struct stat stat;\n"
869 "\\&\n"
870 " if (argc != 3) {\n"
871 " fprintf(stderr, \"Usage: %s E<lt>sourceE<gt> E<lt>destinationE<gt>\\[rs]n\", argv[0]);\n"
872 " exit(EXIT_FAILURE);\n"
873 " }\n"
874 "\\&\n"
875 " fd_in = open(argv[1], O_RDONLY);\n"
876 " if (fd_in == -1) {\n"
877 " perror(\"open (argv[1])\");\n"
878 " exit(EXIT_FAILURE);\n"
879 " }\n"
880 "\\&\n"
881 " if (fstat(fd_in, &stat) == -1) {\n"
882 " perror(\"fstat\");\n"
883 " exit(EXIT_FAILURE);\n"
884 " }\n"
885 "\\&\n"
886 " len = stat.st_size;\n"
887 "\\&\n"
888 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
889 " if (fd_out == -1) {\n"
890 " perror(\"open (argv[2])\");\n"
891 " exit(EXIT_FAILURE);\n"
892 " }\n"
893 "\\&\n"
894 " do {\n"
895 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n"
896 " if (ret == -1) {\n"
897 " perror(\"copy_file_range\");\n"
898 " exit(EXIT_FAILURE);\n"
899 " }\n"
900 "\\&\n"
901 " len -= ret;\n"
902 " } while (len E<gt> 0 && ret E<gt> 0);\n"
903 "\\&\n"
904 " close(fd_in);\n"
905 " close(fd_out);\n"
906 " exit(EXIT_SUCCESS);\n"
907 "}\n"
908 msgstr ""
909 "#define _GNU_SOURCE\n"
910 "#define _FILE_OFFSET_BITS 64\n"
911 "#include E<lt>fcntl.hE<gt>\n"
912 "#include E<lt>stdio.hE<gt>\n"
913 "#include E<lt>stdlib.hE<gt>\n"
914 "#include E<lt>sys/stat.hE<gt>\n"
915 "#include E<lt>sys/types.hE<gt>\n"
916 "#include E<lt>unistd.hE<gt>\n"
917 "\\&\n"
918 "int\n"
919 "main(int argc, char *argv[])\n"
920 "{\n"
921 " int fd_in, fd_out;\n"
922 " off_t len, ret;\n"
923 " struct stat stat;\n"
924 "\\&\n"
925 " if (argc != 3) {\n"
926 " fprintf(stderr, \"Użycie: %s E<lt>źródłoE<gt> E<lt>celE<gt>\\[rs]n\", argv[0]);\n"
927 " exit(EXIT_FAILURE);\n"
928 " }\n"
929 "\\&\n"
930 " fd_in = open(argv[1], O_RDONLY);\n"
931 " if (fd_in == -1) {\n"
932 " perror(\"open (argv[1])\");\n"
933 " exit(EXIT_FAILURE);\n"
934 " }\n"
935 "\\&\n"
936 " if (fstat(fd_in, &stat) == -1) {\n"
937 " perror(\"fstat\");\n"
938 " exit(EXIT_FAILURE);\n"
939 " }\n"
940 "\\&\n"
941 " len = stat.st_size;\n"
942 "\\&\n"
943 " fd_out = open(argv[2], O_CREAT | O_WRONLY | O_TRUNC, 0644);\n"
944 " if (fd_out == -1) {\n"
945 " perror(\"open (argv[2])\");\n"
946 " exit(EXIT_FAILURE);\n"
947 " }\n"
948 "\\&\n"
949 " do {\n"
950 " ret = copy_file_range(fd_in, NULL, fd_out, NULL, len, 0);\n"
951 " if (ret == -1) {\n"
952 " perror(\"copy_file_range\");\n"
953 " exit(EXIT_FAILURE);\n"
954 " }\n"
955 "\\&\n"
956 " len -= ret;\n"
957 " } while (len E<gt> 0 && ret E<gt> 0);\n"
958 "\\&\n"
959 " close(fd_in);\n"
960 " close(fd_out);\n"
961 " exit(EXIT_SUCCESS);\n"
962 "}\n"
963
964 #. type: TH
965 #: fedora-44 fedora-rawhide
966 #, no-wrap
967 msgid "2024-11-17"
968 msgstr "17 listopada 2024 r."
969
970 #. type: TH
971 #: fedora-44 fedora-rawhide
972 #, no-wrap
973 msgid "Linux man-pages 6.13"
974 msgstr "Linux man-pages 6.13"
975
976 #. type: TH
977 #: mageia-cauldron
978 #, no-wrap
979 msgid "Linux man-pages 6.17"
980 msgstr "Linux man-pages 6.17"
981
982 #. type: TH
983 #: opensuse-leap-16-1 opensuse-tumbleweed
984 #, no-wrap
985 msgid "Linux man-pages (unreleased)"
986 msgstr "Linux man-pages (niewydane)"