Debian Codegraph @

po/pl/man2/readv.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 # Robert Luberda <[email protected]>, 2006, 2012.
5 # Michał Kułach <[email protected]>, 2013, 2014, 2016, 2024, 2025, 2026.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-pl\n"
9 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
10 "PO-Revision-Date: 2026-06-22 21:49+0200\n"
11 "Last-Translator: Michał Kułach <[email protected]>\n"
12 "Language-Team: Polish <[email protected]>\n"
13 "Language: pl\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "X-Generator: Lokalize 25.04.0\n"
18 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
19 "|| n%100>=20) ? 1 : 2);\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, no-wrap
25 msgid "readv"
26 msgstr "readv"
27
28 #. type: TH
29 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-22"
32 msgstr "22 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 ""
51 "readv, writev, preadv, pwritev, preadv2, pwritev2 - read or write data into "
52 "multiple buffers"
53 msgstr ""
54 "readv, writev, preadv, pwritev, preadv2, pwritev2 - czyta lub zapisuje dane "
55 "do wielu buforów"
56
57 #. type: SH
58 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
59 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
60 #, no-wrap
61 msgid "LIBRARY"
62 msgstr "BIBLIOTEKA"
63
64 #. type: Plain text
65 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
66 #: opensuse-leap-16-1 opensuse-tumbleweed
67 msgid "Standard C library (I<libc>,\\ I<-lc>)"
68 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
69
70 #. type: SH
71 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
72 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
73 #, no-wrap
74 msgid "SYNOPSIS"
75 msgstr "SKŁADNIA"
76
77 #. type: Plain text
78 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
79 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<#include E<lt>sys/uio.hE<gt>>\n"
82 msgstr "B<#include E<lt>sys/uio.hE<gt>>\n"
83
84 #. type: Plain text
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid ""
89 "B<ssize_t readv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
90 "B<ssize_t writev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
91 msgstr ""
92 "B<ssize_t readv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
93 "B<ssize_t writev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<);>\n"
94
95 #. type: Plain text
96 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
97 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
98 #, no-wrap
99 msgid ""
100 "B<ssize_t preadv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
101 "B< off_t >I<offset>B<);>\n"
102 "B<ssize_t pwritev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
103 "B< off_t >I<offset>B<);>\n"
104 msgstr ""
105 "B<ssize_t preadv(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
106 "B< off_t >I<offset>B<);>\n"
107 "B<ssize_t pwritev(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
108 "B< off_t >I<offset>B<);>\n"
109
110 #. type: Plain text
111 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
112 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
113 #, no-wrap
114 msgid ""
115 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
116 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
117 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
118 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
119 msgstr ""
120 "B<ssize_t preadv2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
121 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
122 "B<ssize_t pwritev2(int >I<fd>B<, const struct iovec *>I<iov>B<, int >I<iovcnt>B<,>\n"
123 "B< off_t >I<offset>B<, int >I<flags>B<);>\n"
124
125 #. type: Plain text
126 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
127 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
128 msgid ""
129 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
130 msgstr ""
131 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
132
133 #. type: Plain text
134 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
135 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
136 msgid "B<preadv>(), B<pwritev>():"
137 msgstr "B<preadv>(), B<pwritev>():"
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 #, no-wrap
143 msgid ""
144 " Since glibc 2.19:\n"
145 " _DEFAULT_SOURCE\n"
146 " glibc 2.19 and earlier:\n"
147 " _BSD_SOURCE\n"
148 msgstr ""
149 " Od glibc 2.19:\n"
150 " _DEFAULT_SOURCE\n"
151 " glibc 2.19 i wcześniejsze:\n"
152 " _BSD_SOURCE\n"
153
154 #. type: SH
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 #, no-wrap
158 msgid "DESCRIPTION"
159 msgstr "OPIS"
160
161 #. type: Plain text
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 msgid ""
165 "The B<readv>() system call reads I<iovcnt> buffers from the file associated "
166 "with the file descriptor I<fd> into the buffers described by I<iov> "
167 "(\"scatter input\")."
168 msgstr ""
169 "Wywołanie systemowe B<readv>() czyta liczbę I<iovcnt> bloków z pliku "
170 "skojarzonego z deskryptorem pliku I<fd> do wielu buforów opisanych przez "
171 "I<iov> (\\[Bq]rozrzucone wejście\\[rq])."
172
173 #. type: Plain text
174 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
175 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
176 msgid ""
177 "The B<writev>() system call writes I<iovcnt> buffers of data described by "
178 "I<iov> to the file associated with the file descriptor I<fd> (\"gather "
179 "output\")."
180 msgstr ""
181 "Funkcja B<writev>() zapisuje co najwyżej I<iovcnt> bloków opisanych przez "
182 "I<iov> do pliku skojarzonego z deskryptorem pliku I<fd> (\\[Bq]zgromadzone "
183 "wyjście\\[rq])."
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid ""
189 "The pointer I<iov> points to an array of I<iovec> structures, described in "
190 "B<iovec>(3type)."
191 msgstr ""
192 "Wskaźnik I<iov> prowadzi do struktury I<iovec>, opisanej w B<iovec>(3type)."
193
194 #. type: Plain text
195 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
196 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
197 msgid ""
198 "The B<readv>() system call works just like B<read>(2) except that multiple "
199 "buffers are filled."
200 msgstr ""
201 "Wywołanie systemowe B<readv>() działa tak samo jak B<read>(2), z tą różnicą "
202 "że wypełnianych jest wiele buforów."
203
204 #. type: Plain text
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "The B<writev>() system call works just like B<write>(2) except that "
209 "multiple buffers are written out."
210 msgstr ""
211 "Wywołanie systemowe B<writev>() działa tak samo jak B<write>(2), z tą "
212 "różnicą że zapisywane dane pochodzą z wielu buforów."
213
214 #. type: Plain text
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 msgid ""
218 "Buffers are processed in array order. This means that B<readv>() "
219 "completely fills I<iov[0]> before proceeding to I<iov[1]>, and so on. (If "
220 "there is insufficient data, then not all buffers pointed to by I<iov> may be "
221 "filled.) Similarly, B<writev>() writes out the entire contents of "
222 "I<iov[0]> before proceeding to I<iov[1]>, and so on."
223 msgstr ""
224 "Bufory są przetwarzane w porządku, w którym zostały wymienione w tablicy. "
225 "Oznacza to, że B<readv>() całkowicie zapełni I<iov[0]> zanim przejdzie do "
226 "I<iov[1]> itd. (jeśli jest za mało danych, to nie wszystkie bufory w I<iov> "
227 "zostaną wypełnione). Podobnie B<writev> zapisuje całkowicie zawartość "
228 "I<iov[0]>, zanim przejdzie do I<iov[1]>, itd."
229
230 #. Regarding atomicity, see https://bugzilla.kernel.org/show_bug.cgi?id=10596
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "The data transfers performed by B<readv>() and B<writev>() are atomic: the "
236 "data written by B<writev>() is written as a single block that is not "
237 "intermingled with output from writes in other processes; analogously, "
238 "B<readv>() is guaranteed to read a contiguous block of data from the file, "
239 "regardless of read operations performed in other threads or processes that "
240 "have file descriptors referring to the same open file description (see "
241 "B<open>(2))."
242 msgstr ""
243 "Transfery danych przeprowadzane przez B<readv>() i B<writev>() są atomowe: "
244 "dane zapisywane przez B<writev>() są zapisywane jako pojedynczy blok danych, "
245 "niekolidujący z danymi zapisywanymi przez inne procesy. Analogicznie "
246 "B<readv>() gwarantuje przeczytanie sąsiadujących bloków danych, niezależnie "
247 "od operacji odczytu przeprowadzanych przez inne wątki lub procesy mające "
248 "deskryptory plików odnoszące się do tego samego otwartego pliku (patrz "
249 "B<open>(2))."
250
251 #. type: SS
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid "preadv() and pwritev()"
256 msgstr "preadv() i pwritev()"
257
258 #. type: Plain text
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 msgid ""
262 "The B<preadv>() system call combines the functionality of B<readv>() and "
263 "B<pread>(2). It performs the same task as B<readv>(), but adds a fourth "
264 "argument, I<offset>, which specifies the file offset at which the input "
265 "operation is to be performed."
266 msgstr ""
267 "Wywołanie systemowe B<preadv>() łączy w sobie funkcjonalności dostarczane "
268 "przez B<readv>() i przez B<pread>(2). Wykonuje to samo zadanie, co "
269 "B<readv>(), ale dodaje czwarty argument, I<offset>, określający miejsce w "
270 "pliku, w którym zostanie przeprowadzona operacja wejściowa."
271
272 #. type: Plain text
273 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
274 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
275 msgid ""
276 "The B<pwritev>() system call combines the functionality of B<writev>() and "
277 "B<pwrite>(2). It performs the same task as B<writev>(), but adds a fourth "
278 "argument, I<offset>, which specifies the file offset at which the output "
279 "operation is to be performed."
280 msgstr ""
281 "Wywołanie systemowe B<pwritev>() łączy w sobie funkcjonalności dostarczane "
282 "przez B<writev>() i przez B<pwrite>(2). Wykonuje to samo zadanie, co "
283 "B<writev>, ale dodaje czwarty argument, I<offset>, określający miejsce w "
284 "pliku, w którym zostanie przeprowadzona operacja wyjściowa."
285
286 #. type: Plain text
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 msgid ""
290 "The file offset is not changed by these system calls. The file referred to "
291 "by I<fd> must be capable of seeking."
292 msgstr ""
293 "Opisywane wywołania systemowe nie zmieniają pozycji przesunięcia w pliku. "
294 "Pliki wskazywane przez I<fd> muszą pozwalać na swobodny dostęp "
295 "(przeszukiwanie)."
296
297 #. type: SS
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "preadv2() and pwritev2()"
302 msgstr "preadv2() i pwritev2()"
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 ""
308 "These system calls are similar to B<preadv>() and B<pwritev>() calls, but "
309 "add a fifth argument, I<flags>, which modifies the behavior on a per-call "
310 "basis."
311 msgstr ""
312 "Te wywołania systemowe są podobne do wywołań B<preadv>() i B<pwritev>(), "
313 "lecz dodają piąty argument I<flags>, modyfikujący zachowanie w zależności od "
314 "wywołania."
315
316 #. type: Plain text
317 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
318 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
319 msgid ""
320 "Unlike B<preadv>() and B<pwritev>(), if the I<offset> argument is -1, then "
321 "the current file offset is used and updated."
322 msgstr ""
323 "W przeciwieństwie do B<preadv>() i B<pwritev>(), jeśli argument I<offset> "
324 "wynosi -1, to używane i aktualizowane jest przesunięcie bieżącego pliku."
325
326 #. type: Plain text
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 msgid ""
330 "The I<flags> argument contains a bitwise OR of zero or more of the following "
331 "flags:"
332 msgstr ""
333 "Argument I<flags> zawiera sumę bitową (OR) z jednego lub więcej z "
334 "następujących znaczników:"
335
336 #. type: TP
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 #, no-wrap
340 msgid "B<RWF_DSYNC> (since Linux 4.7)"
341 msgstr "B<RWF_DSYNC> (od Linuksa 4.7)"
342
343 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid ""
348 "Provide a per-write equivalent of the B<O_DSYNC> B<open>(2) flag. This "
349 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
350 "the data range written by the system call."
351 msgstr ""
352 "Udostępnia ekwiwalent znacznika B<O_DSYNC> B<open>(2), tyle że do zapisu. "
353 "Znacznik ten ma znaczenie jedynie dla B<pwritev2>(), a jego efekty stosują "
354 "się tylko w zakresie danych zapisanych przez wywołanie systemowe."
355
356 #. type: TP
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "B<RWF_HIPRI> (since Linux 4.6)"
361 msgstr "B<RWF_HIPRI> (od Linuksa 4.6)"
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "High priority read/write. Allows block-based filesystems to use polling of "
368 "the device, which provides lower latency, but may use additional resources. "
369 "(Currently, this feature is usable only on a file descriptor opened using "
370 "the B<O_DIRECT> flag.)"
371 msgstr ""
372 "Odczyt/zapis o wysokim priorytecie. Pozwala blokowym systemom plików na "
373 "odpytywanie urządzenia, co zapewnia niższe opóźnienia, lecz może wymagać "
374 "dodatkowych zasobów (obecnie ta funkcja nadaje się do użycia wyłącznie, "
375 "jeśli deskryptor pliku otwarto ze znacznikiem B<O_DIRECT>)."
376
377 #. type: TP
378 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
379 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
380 #, no-wrap
381 msgid "B<RWF_SYNC> (since Linux 4.7)"
382 msgstr "B<RWF_SYNC> (od Linuksa 4.7)"
383
384 #. commit e864f39569f4092c2b2bc72c773b6e486c7e3bd9
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid ""
389 "Provide a per-write equivalent of the B<O_SYNC> B<open>(2) flag. This flag "
390 "is meaningful only for B<pwritev2>(), and its effect applies only to the "
391 "data range written by the system call."
392 msgstr ""
393 "Udostępnia ekwiwalent znacznika B<O_SYNC> B<open>(2), tyle że do zapisu. "
394 "Znacznik ten ma znaczenie jedynie dla B<pwritev2>(), a jego efekty stosują "
395 "się tylko w zakresie danych zapisanych przez wywołanie systemowe."
396
397 #. type: TP
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "B<RWF_NOWAIT> (since Linux 4.14)"
402 msgstr "B<RWF_NOWAIT> (od Linuksa 4.14)"
403
404 #. commit 3239d834847627b6634a4139cf1dc58f6f137a46
405 #. commit 91f9943e1c7b6638f27312d03fe71fcc67b23571
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "Do not wait for data which is not immediately available. If this flag is "
411 "specified, the B<preadv2>() system call will return instantly if it would "
412 "have to read data from the backing storage or wait for a lock. If some data "
413 "was successfully read, it will return the number of bytes read. If no bytes "
414 "were read, it will return -1 and set I<errno> to B<EAGAIN> (but see "
415 "B<BUGS>). Currently, this flag is meaningful only for B<preadv2>()."
416 msgstr ""
417 "Nie oczekuje na dane, które nie są natychmiast dostępne. Jeśli poda się ten "
418 "znacznik, to wywołanie systemowe B<preadv2>() powróci natychmiast, jeśli "
419 "miałoby musieć odczytywać dane z nośnika nieulotnego lub czekać na blokadę. "
420 "Jeśli jakieś dane zostały pomyślnie odczytane, zwróci liczbę odczytanych "
421 "bajtów. Jeśli nie odczytano żadnych danych, zwróci -1 i ustawi I<errno> na "
422 "B<EAGAIN> (lecz zobacz B<USTERKI>). Obecnie, znacznik ten ma znaczenie "
423 "jedynie dla B<preadv2>()."
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<RWF_APPEND> (since Linux 4.16)"
430 msgstr "B<RWF_APPEND> (od Linuksa 4.16)"
431
432 #. commit e1fc742e14e01d84d9693c4aca4ab23da65811fb
433 #. type: Plain text
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 msgid ""
437 "Provide a per-write equivalent of the B<O_APPEND> B<open>(2) flag. This "
438 "flag is meaningful only for B<pwritev2>(), and its effect applies only to "
439 "the data range written by the system call. The I<offset> argument does not "
440 "affect the write operation; the data is always appended to the end of the "
441 "file. However, if the I<offset> argument is -1, the current file offset is "
442 "updated."
443 msgstr ""
444 "Udostępnia ekwiwalent znacznika B<O_APPEND> B<open>(2), tyle że do zapisu. "
445 "Znacznik ten ma znaczenie jedynie dla B<pwritev2>(), a jego efekty stosują "
446 "się tylko w zakresie danych zapisanych przez wywołanie systemowe. Argument "
447 "I<offset> nie wpływa na operację zapisu; dane są zawsze dopisywane do końca "
448 "pliku. Jednakże, jeśli argument I<offset> wynosi -1, bieżące przesunięcie "
449 "pliku jest uaktualniane."
450
451 #. type: TP
452 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
453 #: opensuse-leap-16-1 opensuse-tumbleweed
454 #, no-wrap
455 msgid "B<RWF_NOAPPEND> (since Linux 6.9)"
456 msgstr "B<RWF_NOAPPEND> (od Linuksa 6.9)"
457
458 #. type: Plain text
459 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
460 #: opensuse-leap-16-1 opensuse-tumbleweed
461 msgid ""
462 "Do not honor the B<O_APPEND> B<open>(2) flag. This flag is meaningful only "
463 "for B<pwritev2>(). Historically, Linux honored B<O_APPEND> flag if set and "
464 "ignored the offset argument, which is a bug. For B<pwritev2>(), the "
465 "I<offset> argument is honored as expected if B<RWF_NOAPPEND> flag is set, "
466 "the same as if B<O_APPEND> flag were not set."
467 msgstr ""
468 "Nie honoruje znacznika B<O_APPEND> B<open>(2). Znacznik ten jest istotny "
469 "tylko dla B<pwritev2>(). Historycznie, Linux uwzględniał znacznik "
470 "B<O_APPEND>, jeśli był ustawiony, i ignorował argument przesunięcia, co jest "
471 "błędem. W przypadku B<pwritev2>(), jeśli znacznik B<RWF_NOAPPEND> jest "
472 "ustawiony, argument I<offset> jest honorowany zgodnie z przewidywaniami, "
473 "czyli tak samo, jak gdyby znacznik B<O_APPEND> nie był ustawiony."
474
475 #. type: TP
476 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
477 #: opensuse-leap-16-1 opensuse-tumbleweed
478 #, no-wrap
479 msgid "B<RWF_ATOMIC> (since Linux 6.11)"
480 msgstr "B<RWF_ATOMIC> (od Linuksa 6.11)"
481
482 #. type: Plain text
483 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
484 #: opensuse-tumbleweed
485 msgid ""
486 "Requires that writes to regular files in block-based filesystems be issued "
487 "with torn-write protection. Torn-write protection means that for a power or "
488 "any other hardware failure, all or none of the data from the write will be "
489 "stored, but never a mix of old and new data. This flag is meaningful only "
490 "for B<pwritev2>(), and its effect applies only to the data range written by "
491 "the system call. The total write length must be power-of-2 and must be "
492 "sized in the range [I<stx_atomic_write_unit_min>, "
493 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
494 "offset within the file with respect to the total write length. For example, "
495 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
496 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
497 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
498 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
499 "B<O_DIRECT> flag, that is, buffered writes are not supported. To guarantee "
500 "consistency from the write between a file's in-core state with the storage "
501 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
502 "synchronized I/O guarantees as described in B<open>(2) are provided when "
503 "these flags or their equivalent flags and system calls are used (e.g., if "
504 "B<RWF_SYNC> is specified for B<pwritev2>())."
505 msgstr ""
506 "Wymaga, aby zapisy do zwykłych plików w systemie plików korzystającym z "
507 "bloków, były wydawane z zabezpieczeniem przed rozdartym zapisem (ang. torn-"
508 "write). Zabezpieczenie przed rozdartym zapisem oznacza, że w przypadku "
509 "usterki zasilania lub dowolnej innej usterki sprzętowej zostaną zapisane "
510 "albo wszystkie, albo żadne dane z zapisu, jednak nigdy nie będzie do "
511 "mieszanina starych i nowych danych. Znacznik ten jest istotny tylko dla "
512 "B<pwritev2>(), a jego skutki dotyczą tylko danych zapisywanych przez to "
513 "wywołanie systemowe. Całkowita długość zapisu musi być potęgą dwójki i musi "
514 "mieścić się w przedziale [I<stx_atomic_write_unit_min>, "
515 "I<stx_atomic_write_unit_max>]. Zapis musi być w naturalnie dopasowanym "
516 "przesunięciu w pliku, z uwzględnieniem całkowitej długości zapisu. Na "
517 "przykład zapis o długości 32KiB na przesunięciu 32KiB w pliku jest "
518 "dozwolony, natomiast zapis o długości 32KiB na przesunięciu 48KiB już nie. "
519 "Górną granicę I<iovcnt> dla B<pwritev2>() określa wartość w "
520 "I<stx_atomic_write_segments_max>. Zabezpieczenie przed rozdartym zapisem "
521 "działa tylko ze znacznikiem B<O_DIRECT>, tj. zapisy buforowane nie są "
522 "obsługiwane. Aby zagwarantować spójność zapisu pomiędzy wewnętrznym stanem "
523 "pliku a tym na urządzeniu dyskowym, konieczne jest podanie B<O_SYNC> lub "
524 "B<O_DSYNC> przy B<open>(2). Taka sama gwarancja zsynchronizowanego wejścia/"
525 "wyjście jak opisana w B<open>(2) jest zapewniana, gdy używane są te "
526 "znaczniki, albo ich odpowiedniki, oraz wywołania systemowe (np. gdy podano "
527 "B<RWF_SYNC> dla B<pwritev2>())."
528
529 #. type: TP
530 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
531 #: opensuse-tumbleweed
532 #, no-wrap
533 msgid "B<RWF_DONTCACHE> (since Linux 6.14)"
534 msgstr "B<RWF_DONTCACHE> (od Linuksa 6.14)"
535
536 #. type: Plain text
537 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
538 #: opensuse-tumbleweed
539 msgid ""
540 "Reads or writes to a regular file will prune instantiated page cache content "
541 "when the operation completes. This is different than normal buffered I/O, "
542 "where the data usually remains in cache until such time that it gets "
543 "reclaimed due to memory pressure. If ranges of the read or written I/O were "
544 "already in cache before this read or write, then those ranges will not be "
545 "pruned at I/O completion time."
546 msgstr ""
547 "Odczyty lub zapisy do zwykłego pliku wyczyszczą zawartość utworzonego bufora "
548 "strony po zakończeniu operacji. Różni się to od zwykłego buforowanego "
549 "wejścia/wyjścia, gdzie dane zwykle pozostają w buforze do momentu, gdy "
550 "zostanie on odzyskany ze względu na potrzebną pamięć. Jeśli dane zakresy "
551 "odczytywanego lub zapisywanego wejścia/wyjścia już znajdowały się w buforze "
552 "przed tym odczytem lub zapisem, to nie zostaną one wyczyszczone po "
553 "zakończeniu operacji wejścia/wyjścia."
554
555 #. type: Plain text
556 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
557 #: opensuse-tumbleweed
558 msgid ""
559 "Additionally, any range dirtied by a write operation with B<RWF_DONTCACHE> "
560 "set will get kicked off for writeback. This is similar to calling "
561 "B<sync_file_range>(2) with I<SYNC_FILE_RANGE_WRITE> to start writeback on "
562 "the given range. B<RWF_DONTCACHE> is a hint, or best effort, where no hard "
563 "guarantees are given on the state of the page cache once the operation "
564 "completes."
565 msgstr ""
566 "Dodatkowo, wszelkie zakresy zmodyfikowane (dirty) przez operację zapisu z "
567 "ustawionym B<RWF_DONTCACHE> zostaną przeznaczone do zapisu zwrotnego. Jest "
568 "to podobne do wywołania B<sync_file_range>(2) z I<SYNC_FILE_RANGE_WRITE> w "
569 "celu rozpoczęcia zapisu zwrotnego zadanego zakresu. B<RWF_DONTCACHE> jest "
570 "wskazówką, wobec której, pomimo próby jej spełnienia, nie istnieje gwarancja "
571 "co do stanu bufora strony po zakończeniu operacji."
572
573 #. type: Plain text
574 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
575 #: opensuse-tumbleweed
576 msgid ""
577 "If used on a file system or block device that doesn't support it, it will "
578 "return -1, and I<errno> will be set to B<EOPNOTSUPP>."
579 msgstr ""
580 "Przy użyciu w systemie plików lub na urządzeniu blokowym, który go nie "
581 "obsługuje, zwróci -1 i spowoduje ustawienie I<errno> na B<EOPNOTSUPP>."
582
583 #. type: SH
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 #, no-wrap
587 msgid "RETURN VALUE"
588 msgstr "WARTOŚĆ ZWRACANA"
589
590 #. type: Plain text
591 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
592 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
593 msgid ""
594 "On success, B<readv>(), B<preadv>(), and B<preadv2>() return the number of "
595 "bytes read; B<writev>(), B<pwritev>(), and B<pwritev2>() return the number "
596 "of bytes written."
597 msgstr ""
598 "Gdy się powiodą, funkcje B<readv>(), B<preadv>() i B<preadv2>() zwracają "
599 "liczbę przeczytanych bajtów, a funkcje B<writev>(), B<pwritev>() i "
600 "B<pwritev2>() zwracają liczbę bajtów zapisanych."
601
602 #. type: Plain text
603 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
604 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
605 msgid ""
606 "Note that it is not an error for a successful call to transfer fewer bytes "
607 "than requested (see B<read>(2) and B<write>(2))."
608 msgstr ""
609 "Proszę zauważyć, że nie jest błędem przesłanie mniejszej liczby bajtów niż "
610 "żądano przez poprawne wywołanie (zob. B<read>(2) i B<write>(2))."
611
612 #. type: Plain text
613 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
614 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
615 msgid "On error, -1 is returned, and I<errno> is set to indicate the error."
616 msgstr ""
617 "W razie wystąpienia błędu zwracane jest -1 i ustawiane I<errno> wskazując "
618 "błąd."
619
620 #. type: SH
621 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
622 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
623 #, no-wrap
624 msgid "ERRORS"
625 msgstr "BŁĘDY"
626
627 #. type: Plain text
628 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
629 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
630 msgid ""
631 "The errors are as given for B<read>(2) and B<write>(2). Furthermore, "
632 "B<preadv>(), B<preadv2>(), B<pwritev>(), and B<pwritev2>() can also fail "
633 "for the same reasons as B<lseek>(2). Additionally, the following errors are "
634 "defined:"
635 msgstr ""
636 "Zwracane błędy są takie same, jak w przypadku funkcji B<read>(2) i "
637 "B<write>(2). Ponadto B<preadv>(), B<preadv2>(), B<pwritev>() i B<pwritev2>() "
638 "mogą także zwrócić błędy takie jak w przypadku B<lseek>(2). Dodatkowo "
639 "zdefiniowane są następujące błędy:"
640
641 #. type: TP
642 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
643 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
644 #, no-wrap
645 msgid "B<EINVAL>"
646 msgstr "B<EINVAL>"
647
648 #. type: Plain text
649 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
650 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
651 msgid "The sum of the I<iov_len> values overflows an I<ssize_t> value."
652 msgstr "Suma wartości I<iov_len> przekracza rozmiar I<ssize_t>."
653
654 #. type: Plain text
655 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
656 #: opensuse-leap-16-1 opensuse-tumbleweed
657 msgid ""
658 "If B<RWF_ATOMIC> is specified, the combination of the sum of the I<iov_len> "
659 "values and the I<offset> value does not comply with the length and offset "
660 "torn-write protection rules."
661 msgstr ""
662 "Jeśli podano B<RWF_ATOMIC>, połączenie sumy wartości I<iov_len> i wartości "
663 "I<offset> nie jest zgodne z regułami określonymi dla długości i "
664 "przesunięcia, przy stosowaniu zabezpieczenia przed rozdartym zapisem (ang. "
665 "torn-write)."
666
667 #. type: Plain text
668 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
669 #: opensuse-leap-16-1 opensuse-tumbleweed
670 msgid ""
671 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
672 "maximum. If B<RWF_ATOMIC> is specified, this maximum is given by the "
673 "I<stx_atomic_write_segments_max> value from I<statx.>"
674 msgstr ""
675 "Liczba I<iovcnt> wektorów wynosi mniej niż zero lub jest większa od "
676 "dozwolonego maksimum. Jeśli podano B<RWF_ATOMIC>, maksimum wynika z wartości "
677 "I<stx_atomic_write_segments_max> ze I<statx>."
678
679 #. type: TP
680 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
681 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
682 #, no-wrap
683 msgid "B<EOPNOTSUPP>"
684 msgstr "B<EOPNOTSUPP>"
685
686 #. type: Plain text
687 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
688 #: opensuse-tumbleweed
689 msgid "B<RWF_DONTCACHE> was set in I<flags> and the file doesn't support it."
690 msgstr "We I<flags> ustawiono B<RWF_DONTCACHE>, a plik tego nie obsługiwał."
691
692 #. type: Plain text
693 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
694 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
695 msgid "An unknown flag is specified in I<flags>."
696 msgstr "Jako I<flags> podano nieznaną flagę."
697
698 #. type: SH
699 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
700 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
701 #, no-wrap
702 msgid "VERSIONS"
703 msgstr "WERSJE"
704
705 #. type: SS
706 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
707 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
708 #, no-wrap
709 msgid "C library/kernel differences"
710 msgstr "Różnice biblioteki C/jądra"
711
712 #. type: Plain text
713 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
714 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
715 msgid ""
716 "The raw B<preadv>() and B<pwritev>() system calls have call signatures "
717 "that differ slightly from that of the corresponding GNU C library wrapper "
718 "functions shown in the SYNOPSIS. The final argument, I<offset>, is unpacked "
719 "by the wrapper functions into two arguments in the system calls:"
720 msgstr ""
721 "Surowe wywołania systemowe B<preadv>() i B<pwritev>() mają sygnatury wywołań "
722 "różniące się subtelnie od odpowiadających im w funkcji opakowującej "
723 "biblioteki GNU C pokazanych w SKŁADNI. Ostatni argument I<offset>, jest "
724 "rozpakowany przez funkcję opakowującą na dwa argumenty wywołania systemowego:"
725
726 #. type: Plain text
727 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
728 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
729 msgid "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
730 msgstr "B< unsigned long >I<pos_l>B<, unsigned long >I<pos>"
731
732 #. type: Plain text
733 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
734 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
735 msgid ""
736 "These arguments contain, respectively, the low order and high order 32 bits "
737 "of I<offset>."
738 msgstr ""
739 "Argumenty te zawierają 32 bitowy I<offset> w kolejności odpowiednio, od "
740 "najmniej i od najbardziej znaczącego bitu."
741
742 #. type: SH
743 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
744 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
745 #, no-wrap
746 msgid "STANDARDS"
747 msgstr "STANDARDY"
748
749 #. type: TP
750 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
751 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
752 #, no-wrap
753 msgid "B<readv>()"
754 msgstr "B<readv>()"
755
756 #. type: TQ
757 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
758 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
759 #, no-wrap
760 msgid "B<writev>()"
761 msgstr "B<writev>()"
762
763 #. type: Plain text
764 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
765 #: opensuse-tumbleweed
766 msgid "POSIX.1-2024."
767 msgstr "POSIX.1-2024."
768
769 #. type: TP
770 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
771 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
772 #, no-wrap
773 msgid "B<preadv>()"
774 msgstr "B<preadv>()"
775
776 #. type: TQ
777 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
778 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
779 #, no-wrap
780 msgid "B<pwritev>()"
781 msgstr "B<pwritev>()"
782
783 #. type: Plain text
784 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
785 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
786 msgid "BSD."
787 msgstr "BSD."
788
789 #. type: TP
790 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
791 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
792 #, no-wrap
793 msgid "B<preadv2>()"
794 msgstr "B<preadv2>()"
795
796 #. type: TQ
797 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
798 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
799 #, no-wrap
800 msgid "B<pwritev2>()"
801 msgstr "B<pwritev2>()"
802
803 #. type: Plain text
804 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
805 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
806 msgid "Linux."
807 msgstr "Linux."
808
809 #. type: SH
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 #, no-wrap
813 msgid "HISTORY"
814 msgstr "HISTORIA"
815
816 #. #-#-#-#-# archlinux: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
817 #. Linux libc5 used
818 #. .I size_t
819 #. as the type of the
820 #. .I iovcnt
821 #. argument,
822 #. and
823 #. .I int
824 #. as the return type.
825 #. The readv/writev system calls were buggy before Linux 1.3.40.
826 #. (Says release.libc.)
827 #. type: Plain text
828 #. #-#-#-#-# debian-trixie: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
829 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
830 #. and \fIint\fP as the return type.
831 #. The readv/writev system calls were buggy before Linux 1.3.40.
832 #. (Says release.libc.)
833 #. type: Plain text
834 #. #-#-#-#-# debian-unstable: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
835 #. Linux libc5 used
836 #. .I size_t
837 #. as the type of the
838 #. .I iovcnt
839 #. argument,
840 #. and
841 #. .I int
842 #. as the return type.
843 #. The readv/writev system calls were buggy before Linux 1.3.40.
844 #. (Says release.libc.)
845 #. type: Plain text
846 #. #-#-#-#-# fedora-44: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
847 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
848 #. and \fIint\fP as the return type.
849 #. The readv/writev system calls were buggy before Linux 1.3.40.
850 #. (Says release.libc.)
851 #. type: Plain text
852 #. #-#-#-#-# fedora-rawhide: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
853 #. Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
854 #. and \fIint\fP as the return type.
855 #. The readv/writev system calls were buggy before Linux 1.3.40.
856 #. (Says release.libc.)
857 #. type: Plain text
858 #. #-#-#-#-# mageia-cauldron: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
859 #. Linux libc5 used
860 #. .I size_t
861 #. as the type of the
862 #. .I iovcnt
863 #. argument,
864 #. and
865 #. .I int
866 #. as the return type.
867 #. The readv/writev system calls were buggy before Linux 1.3.40.
868 #. (Says release.libc.)
869 #. type: Plain text
870 #. #-#-#-#-# opensuse-leap-16-1: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
871 #. Linux libc5 used
872 #. .I size_t
873 #. as the type of the
874 #. .I iovcnt
875 #. argument,
876 #. and
877 #. .I int
878 #. as the return type.
879 #. The readv/writev system calls were buggy before Linux 1.3.40.
880 #. (Says release.libc.)
881 #. type: Plain text
882 #. #-#-#-#-# opensuse-tumbleweed: readv.2.pot (PACKAGE VERSION) #-#-#-#-#
883 #. Linux libc5 used
884 #. .I size_t
885 #. as the type of the
886 #. .I iovcnt
887 #. argument,
888 #. and
889 #. .I int
890 #. as the return type.
891 #. The readv/writev system calls were buggy before Linux 1.3.40.
892 #. (Says release.libc.)
893 #. type: Plain text
894 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
895 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
896 msgid "POSIX.1-2001, 4.4BSD (first appeared in 4.2BSD)."
897 msgstr "POSIX.1-2001, 4.4BSD (pojawiło się pierwotnie w 4.2BSD)."
898
899 #. type: Plain text
900 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
901 msgid "Linux 2.6.30, glibc 2.10."
902 msgstr "Linux 2.6.30, glibc 2.10."
903
904 #. type: Plain text
905 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
906 msgid "Linux 4.6, glibc 2.26."
907 msgstr "Linux 4.6, glibc 2.26."
908
909 #. type: SS
910 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
911 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
912 #, no-wrap
913 msgid "Historical C library/kernel differences"
914 msgstr "Historyczne różnice biblioteki C/jądra"
915
916 #. type: Plain text
917 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
918 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
919 msgid ""
920 "To deal with the fact that B<IOV_MAX> was so low on early versions of Linux, "
921 "the glibc wrapper functions for B<readv>() and B<writev>() did some extra "
922 "work if they detected that the underlying kernel system call failed because "
923 "this limit was exceeded. In the case of B<readv>(), the wrapper function "
924 "allocated a temporary buffer large enough for all of the items specified by "
925 "I<iov>, passed that buffer in a call to B<read>(2), copied data from the "
926 "buffer to the locations specified by the I<iov_base> fields of the elements "
927 "of I<iov>, and then freed the buffer. The wrapper function for B<writev>() "
928 "performed the analogous task using a temporary buffer and a call to "
929 "B<write>(2)."
930 msgstr ""
931 "Aby rozwiązać sytuację, gdy I<IOV_MAX> było tak niskie we wczesnych wersjach "
932 "Linuksa, funkcje opakowujące B<readv>() i B<writev>() wykonywały pewne "
933 "dodatkowe działania po wykryciu, że odpowiednie wywołanie systemowe "
934 "zakończyło się błędem z powodu przekroczenia limitu. W takim wypadku funkcja "
935 "B<readv>() biblioteki glibc przydzielała tymczasowy bufor, wystarczająco "
936 "duży, by pomieścić wszystkie elementy określone przez I<iov>, przekazywała "
937 "ten bufor wywołaniu systemowemu B<read>(2), kopiowała dane z bufora "
938 "tymczasowego do lokalizacji określonych przez I<iov>, a następnie zwalniała "
939 "pamięć bufora. Funkcja glibc dla B<writev>() wykonywała analogiczne zadanie, "
940 "używając bufora tymczasowego i wywołania funkcji B<write>(2)."
941
942 #. type: Plain text
943 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
944 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
945 msgid ""
946 "The need for this extra effort in the glibc wrapper functions went away with "
947 "Linux 2.2 and later. However, glibc continued to provide this behavior "
948 "until glibc 2.10. Starting with glibc 2.9, the wrapper functions provide "
949 "this behavior only if the library detects that the system is running a Linux "
950 "kernel older than Linux 2.6.18 (an arbitrarily selected kernel version). "
951 "And since glibc 2.20 (which requires a minimum of Linux 2.6.32), the glibc "
952 "wrapper functions always just directly invoke the system calls."
953 msgstr ""
954 "Potrzeba tych dodatkowych działań funkcji opakowujących glibc przestała "
955 "istnieć od Linuksa 2.2. Jednak glibc wciąż udostępniał to zachowanie do "
956 "glibc 2.10. Poczynając od wersji glibc 2.9, funkcje opakowujące wykonywały "
957 "to działanie tylko jeśli biblioteka wykryła, że system działa pod kontrolą "
958 "jądra Linux starszego niż Linux 2.6.18 (wybór tej wersji jądra nie ma "
959 "głębszej przyczyny). Od glibc 2.10 (wymagającej co najmniej Linuksa 2.6.32) "
960 "funkcje opakowujące glibc bezpośrednio przywołują wywołania systemowe."
961
962 #. type: SH
963 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
964 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
965 #, no-wrap
966 msgid "NOTES"
967 msgstr "UWAGI"
968
969 #. type: Plain text
970 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
971 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
972 msgid ""
973 "POSIX.1 allows an implementation to place a limit on the number of items "
974 "that can be passed in I<iov>. An implementation can advertise its limit by "
975 "defining B<IOV_MAX> in I<E<lt>limits.hE<gt>> or at run time via the return "
976 "value from I<sysconf(_SC_IOV_MAX)>. On modern Linux systems, the limit is "
977 "1024. Back in Linux 2.0 days, this limit was 16."
978 msgstr ""
979 "POSIX.1 pozwala w implementacji umieścić ograniczenie liczby argumentów, "
980 "które mogą być przekazane w I<iov>. Implementacja może rozgłosić ten limit "
981 "definiując B<IOV_MAX> w I<E<lt>limits.hE<gt>> lub w czasie uruchomienia, "
982 "zwracaną wartością z I<sysconf(_SC_IOV_MAX)>. Na współczesnych systemach "
983 "Linux limit ten wynosi 1024. W czasach Linuksa 2.0 wynosił 16."
984
985 #. type: SH
986 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
987 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
988 #, no-wrap
989 msgid "BUGS"
990 msgstr "USTERKI"
991
992 #. See
993 #. <https://lore.kernel.org/linux-fsdevel/[email protected]/T/#u>
994 #. The bug was introduced in
995 #. efa8480a831 fs: RWF_NOWAIT should imply IOCB_NOIO
996 #. and fixed in
997 #. 06c0444290 mm/filemap.c: generic_file_buffered_read() now uses find_get_pages_contig
998 #. type: Plain text
999 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1000 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1001 msgid ""
1002 "Linux 5.9 and Linux 5.10 have a bug where B<preadv2>() with the "
1003 "B<RWF_NOWAIT> flag may return 0 even when not at end of file."
1004 msgstr ""
1005 "Linux 5.9 i Linux 5.10 są obarczone błędem: B<preadv2>() ze znacznikiem "
1006 "B<RWF_NOWAIT> może zwrócić 0 nawet, gdy nie jest to koniec pliku."
1007
1008 #. type: SH
1009 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1010 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1011 #, no-wrap
1012 msgid "EXAMPLES"
1013 msgstr "PRZYKŁADY"
1014
1015 #. type: Plain text
1016 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1017 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1018 msgid "The following code sample demonstrates the use of B<writev>():"
1019 msgstr "Następujący przykładowy kod pokazuje użycie funkcji B<writev>():"
1020
1021 #. type: Plain text
1022 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1023 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1024 #, no-wrap
1025 msgid ""
1026 "char *str0 = \"hello \";\n"
1027 "char *str1 = \"world\\[rs]n\";\n"
1028 "ssize_t nwritten;\n"
1029 "struct iovec iov[2];\n"
1030 "\\&\n"
1031 "iov[0].iov_base = str0;\n"
1032 "iov[0].iov_len = strlen(str0);\n"
1033 "iov[1].iov_base = str1;\n"
1034 "iov[1].iov_len = strlen(str1);\n"
1035 "\\&\n"
1036 "nwritten = writev(STDOUT_FILENO, iov, 2);\n"
1037 msgstr ""
1038 "char *str0 = \"witaj \";\n"
1039 "char *str1 = \"świecie\\[rs]n\";\n"
1040 "ssize_t nwritten;\n"
1041 "struct iovec iov[2];\n"
1042 "\\&\n"
1043 "iov[0].iov_base = str0;\n"
1044 "iov[0].iov_len = strlen(str0);\n"
1045 "iov[1].iov_base = str1;\n"
1046 "iov[1].iov_len = strlen(str1);\n"
1047 "\\&\n"
1048 "nwritten = writev(STDOUT_FILENO, iov, 2);\n"
1049
1050 #. type: SH
1051 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1052 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1053 #, no-wrap
1054 msgid "SEE ALSO"
1055 msgstr "ZOBACZ TAKŻE"
1056
1057 #. type: Plain text
1058 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
1059 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
1060 msgid "B<pread>(2), B<read>(2), B<write>(2)"
1061 msgstr "B<pread>(2), B<read>(2), B<write>(2)"
1062
1063 #. type: TH
1064 #: debian-trixie
1065 #, no-wrap
1066 msgid "2024-06-15"
1067 msgstr "15 czerwca 2024 r."
1068
1069 #. type: TH
1070 #: debian-trixie
1071 #, no-wrap
1072 msgid "Linux man-pages 6.9.1"
1073 msgstr "Linux man-pages 6.9.1"
1074
1075 #. type: Plain text
1076 #: debian-trixie
1077 msgid "Standard C library (I<libc>, I<-lc>)"
1078 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
1079
1080 #. type: Plain text
1081 #: debian-trixie
1082 msgid ""
1083 "The vector count, I<iovcnt>, is less than zero or greater than the permitted "
1084 "maximum."
1085 msgstr ""
1086 "Liczba I<iovcnt> wektorów jest mniejsza niż zero lub większa niż "
1087 "dopuszczalne maksimum."
1088
1089 #. type: Plain text
1090 #: debian-trixie fedora-44 fedora-rawhide
1091 msgid "POSIX.1-2008."
1092 msgstr "POSIX.1-2008."
1093
1094 #. type: Plain text
1095 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1096 msgid "B<preadv>(), B<pwritev>(): Linux 2.6.30, glibc 2.10."
1097 msgstr "B<preadv>(), B<pwritev>(): Linux 2.6.30, glibc 2.10."
1098
1099 #. type: Plain text
1100 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
1101 msgid "B<preadv2>(), B<pwritev2>(): Linux 4.6, glibc 2.26."
1102 msgstr "B<preadv2>(), B<pwritev2>(): Linux 4.6, glibc 2.26."
1103
1104 #. type: TH
1105 #: fedora-44 fedora-rawhide
1106 #, no-wrap
1107 msgid "2025-01-04"
1108 msgstr "4 stycznia 2025 r."
1109
1110 #. type: TH
1111 #: fedora-44 fedora-rawhide
1112 #, no-wrap
1113 msgid "Linux man-pages 6.13"
1114 msgstr "Linux man-pages 6.13"
1115
1116 #. type: Plain text
1117 #: fedora-44 fedora-rawhide
1118 msgid ""
1119 "Requires that writes to regular files in block-based filesystems be issued "
1120 "with torn-write protection. Torn-write protection means that for a power or "
1121 "any other hardware failure, all or none of the data from the write will be "
1122 "stored, but never a mix of old and new data. This flag is meaningful only "
1123 "for B<pwritev2>(), and its effect applies only to the data range written by "
1124 "the system call. The total write length must be power-of-2 and must be "
1125 "sized in the range [I<stx_atomic_write_unit_min>, "
1126 "I<stx_atomic_write_unit_max>]. The write must be at a naturally-aligned "
1127 "offset within the file with respect to the total write length. For example, "
1128 "a write of length 32KiB at a file offset of 32KiB is permitted, however a "
1129 "write of length 32KiB at a file offset of 48KiB is not permitted. The upper "
1130 "limit of I<iovcnt> for B<pwritev2>() is given by the value in "
1131 "I<stx_atomic_write_segments_max.> Torn-write protection only works with "
1132 "B<O_DIRECT> flag, i.e. buffered writes are not supported. To guarantee "
1133 "consistency from the write between a file's in-core state with the storage "
1134 "device, B<O_SYNC> or B<O_DSYNC> must be specified for B<open>(2). The same "
1135 "synchronized I/O guarantees as described in B<open>(2) are provided when "
1136 "these flags or their equivalent flags and system calls are used (e.g., if "
1137 "B<RWF_SYNC> is specified for B<pwritev2>())."
1138 msgstr ""
1139 "Wymaga, aby zapisy do zwykłych plików w systemie plików korzystającym z "
1140 "bloków, były wydawane z zabezpieczeniem przed rozdartym zapisem (ang. torn-"
1141 "write). Zabezpieczenie przed rozdartym zapisem oznacza, że w przypadku "
1142 "usterki zasilania lub dowolnej innej usterki sprzętowej zostaną zapisane "
1143 "albo wszystkie, albo żadne dane z zapisu, jednak nigdy nie będzie do "
1144 "mieszanina starych i nowych danych. Znacznik ten jest istotny tylko dla "
1145 "B<pwritev2>(), a jego skutki dotyczą tylko danych zapisywanych przez to "
1146 "wywołanie systemowe. Całkowita długość zapisu musi być potęgą dwójki i musi "
1147 "mieścić się w przedziale [I<stx_atomic_write_unit_min>, "
1148 "I<stx_atomic_write_unit_max>]. Zapis musi być w naturalnie dopasowanym "
1149 "przesunięciu w pliku, z uwzględnieniem całkowitej długości zapisu. Na "
1150 "przykład zapis o długości 32KiB na przesunięciu 32KiB w pliku jest "
1151 "dozwolony, natomiast zapis o długości 32KiB na przesunięciu 48KiB już nie. "
1152 "Górną granicę I<iovcnt> dla B<pwritev2>() określa wartość w "
1153 "I<stx_atomic_write_segments_max>. Zabezpieczenie przed rozdartym zapisem "
1154 "działa tylko ze znacznikiem B<O_DIRECT> tj. zapisy buforowane nie są "
1155 "obsługiwane. Aby zagwarantować spójność zapisu pomiędzy wewnętrznym stanem "
1156 "pliku a tym na urządzeniu dyskowym, konieczne jest podanie B<O_SYNC> lub "
1157 "B<O_DSYNC> przy B<open>(2). Taka sama gwarancja zsynchronizowanego wejścia/"
1158 "wyjście jak opisana w B<open>(2) jest zapewniana, gdy używane są te "
1159 "znaczniki, albo ich odpowiedniki, oraz wywołania systemowe (np. gdy podano "
1160 "B<RWF_SYNC> dla B<pwritev2>())."
1161
1162 #. type: TH
1163 #: mageia-cauldron
1164 #, no-wrap
1165 msgid "2026-02-08"
1166 msgstr "8 lutego 2026 r."
1167
1168 #. type: TH
1169 #: mageia-cauldron
1170 #, no-wrap
1171 msgid "Linux man-pages 6.17"
1172 msgstr "Linux man-pages 6.17"
1173
1174 #. type: TH
1175 #: opensuse-leap-16-1 opensuse-tumbleweed
1176 #, no-wrap
1177 msgid "Linux man-pages (unreleased)"
1178 msgstr "Linux man-pages (niewydane)"