Debian Codegraph @

po/pl/man2/read.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 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Michał Kułach <[email protected]>, 2024, 2025.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:39+0200\n"
11 "PO-Revision-Date: 2025-09-28 12:22+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 "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 "X-Generator: Lokalize 25.04.0\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 "read"
27 msgstr "read"
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 "read - read from a file descriptor"
53 msgstr "read - odczytuje z deskryptora 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>unistd.hE<gt>>\n"
80 msgstr "B<#include E<lt>unistd.hE<gt>>\n"
81
82 #. type: Plain text
83 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
84 #: opensuse-tumbleweed
85 #, no-wrap
86 msgid ""
87 "B<ssize_t read(>size_t count;\n"
88 "B< int >I<fd>B<, void >I<buf>B<[>I<count>B<], size_t >I<count>B<);>\n"
89 msgstr ""
90 "B<ssize_t read(>size_t count;\n"
91 "B< int >I<fd>B<, void >I<buf>B<[>I<count>B<], size_t >I<count>B<);>\n"
92
93 #. type: SH
94 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
95 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
96 #, no-wrap
97 msgid "DESCRIPTION"
98 msgstr "OPIS"
99
100 #. type: Plain text
101 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
102 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
103 msgid ""
104 "B<read>() attempts to read up to I<count> bytes from file descriptor I<fd> "
105 "into the buffer starting at I<buf>."
106 msgstr ""
107 "B<read>() próbuje odczytać maksymalnie I<count> bajtów z deskryptora plików "
108 "I<fd> do bufora, którego początek znajduje się w I<buf>."
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 msgid ""
114 "On files that support seeking, the read operation commences at the file "
115 "offset, and the file offset is incremented by the number of bytes read. If "
116 "the file offset is at or past the end of file, no bytes are read, and "
117 "B<read>() returns zero."
118 msgstr ""
119 "W przypadku plików, które obsługują przeszukiwanie (seeking), operacja "
120 "odczytu rozpoczyna się od przesunięcia pliku i przesunięcie pliku jest "
121 "zwiększane o liczbę odczytanych bajtów. Jeśli przesunięcie pliku jest na "
122 "końcu pliku lub poza nim, nie są odczytywane bajty, a B<read>() zwraca zero."
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 "If I<count> is zero, B<read>() I<may> detect the errors described below. "
129 "In the absence of any errors, or if B<read>() does not check for errors, a "
130 "B<read>() with a I<count> of 0 returns zero and has no other effects."
131 msgstr ""
132 "Jeśli I<count> wynosi zero, B<read>() I<może> wykryć błędy opisane poniżej. "
133 "Przy braku błędów lub gdy B<read>() nie sprawdza błędów, B<read>() z "
134 "I<count> wynoszącym 0, wyłącznie zwraca zero, nie wykonując innych działań."
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "According to POSIX.1, if I<count> is greater than B<SSIZE_MAX>, the result "
141 "is implementation-defined; see NOTES for the upper limit on Linux."
142 msgstr ""
143 "Zgodnie z POSIX.1, jeśli I<count> jest większe niż B<SSIZE_MAX>, wynik "
144 "zależy od definicji w implementacji; zob. UWAGI odnośnie górnego limitu w "
145 "Linuksie."
146
147 #. type: SH
148 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
149 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
150 #, no-wrap
151 msgid "RETURN VALUE"
152 msgstr "WARTOŚĆ ZWRACANA"
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "On success, the number of bytes read is returned (zero indicates end of "
159 "file), and the file position is advanced by this number. It is not an error "
160 "if this number is smaller than the number of bytes requested; this may "
161 "happen for example because fewer bytes are actually available right now "
162 "(maybe because we were close to end-of-file, or because we are reading from "
163 "a pipe, or from a terminal), or because B<read>() was interrupted by a "
164 "signal. See also NOTES."
165 msgstr ""
166 "Po pomyślnym zakończeniu zwracana jest liczba odczytanych bajtów (zero "
167 "oznacza koniec pliku), oraz o tę wartość przesuwana jest pozycja w pliku. "
168 "Nie jest błędem, jeśli liczba ta jest mniejsza niż liczba żądanych bajtów; "
169 "może się to zdarzyć np. ponieważ chwilowo dostępnych jest mniej bajtów (może "
170 "z powodu bliskości końca plików, a może z powodu czytania z potoku lub z "
171 "terminala), lub ponieważ B<read>() zostało przerwane sygnałem."
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 "On error, -1 is returned, and I<errno> is set to indicate the error. In "
178 "this case, it is left unspecified whether the file position (if any) changes."
179 msgstr ""
180 "Po błędzie zwracane jest -1 i ustawiane I<errno> wskazując błąd. W tym "
181 "przypadku nie jest określone czy pozycja w pliku się zmieni."
182
183 #. type: SH
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 #, no-wrap
187 msgid "ERRORS"
188 msgstr "BŁĘDY"
189
190 #. type: TP
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, no-wrap
194 msgid "B<EAGAIN>"
195 msgstr "B<EAGAIN>"
196
197 #. type: Plain text
198 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
199 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
200 msgid ""
201 "The file descriptor I<fd> refers to a file other than a socket and has been "
202 "marked nonblocking (B<O_NONBLOCK>), and the read would block. See "
203 "B<open>(2) for further details on the B<O_NONBLOCK> flag."
204 msgstr ""
205 "Deskryptor pliku I<fd> odwołuje się do pliku innego niż gniazdo i został "
206 "oznaczony jako nieblokujący (B<O_NONBLOCK>), a odczyt go zablokuje. Zob. "
207 "B<open>(2) aby dowiedzieć się więcej o fladze B<O_NONBLOCK>."
208
209 #. type: TP
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "B<EAGAIN> or B<EWOULDBLOCK>"
214 msgstr "B<EAGAIN> lub B<EWOULDBLOCK>"
215
216 #. Actually EAGAIN on Linux
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 "The file descriptor I<fd> refers to a socket and has been marked nonblocking "
222 "(B<O_NONBLOCK>), and the read would block. POSIX.1-2001 allows either error "
223 "to be returned for this case, and does not require these constants to have "
224 "the same value, so a portable application should check for both "
225 "possibilities."
226 msgstr ""
227 "Deskryptor pliku I<fd> odwołuje się do gniazda i został oznaczony jako "
228 "nieblokujący (B<O_NONBLOCK>), a odczyt go zablokuje. POSIX.1-2001 pozwala w "
229 "tej sytuacji na zwrócenie błędu ale nie wymaga aby ta stała miała taką samą "
230 "wartość, przenośna aplikacja powinna sprawdzać obie możliwości."
231
232 #. type: TP
233 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
234 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
235 #, no-wrap
236 msgid "B<EBADF>"
237 msgstr "B<EBADF>"
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> is not a valid file descriptor or is not open for reading."
243 msgstr ""
244 "I<fd> nie jest prawidłowym deskryptorem pliku, lub nie jest otwarty dla "
245 "odczytu."
246
247 #. type: TP
248 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
249 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
250 #, no-wrap
251 msgid "B<EFAULT>"
252 msgstr "B<EFAULT>"
253
254 #. type: Plain text
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 msgid "I<buf> is outside your accessible address space."
258 msgstr "I<buf> jest poza dostępną przestrzenią adresową."
259
260 #. type: TP
261 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
262 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
263 #, no-wrap
264 msgid "B<EINTR>"
265 msgstr "B<EINTR>"
266
267 #. type: Plain text
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 msgid ""
271 "The call was interrupted by a signal before any data was read; see "
272 "B<signal>(7)."
273 msgstr ""
274 "Wywołanie zostało przerwane sygnałem przed odczytaniem danych; zob. "
275 "B<signal>(7)."
276
277 #. type: TP
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "B<EINVAL>"
282 msgstr "B<EINVAL>"
283
284 #. type: Plain text
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 msgid ""
288 "I<fd> is attached to an object which is unsuitable for reading; or the file "
289 "was opened with the B<O_DIRECT> flag, and either the address specified in "
290 "I<buf>, the value specified in I<count>, or the file offset is not suitably "
291 "aligned."
292 msgstr ""
293 "I<fd> jest dołączony do obiektu nieodpowiedniego do odczytu, plik został "
294 "otwarty ze znacznikiem B<O_DIRECT> i adres podany w I<buf> bądź wartość "
295 "I<count> lub przesunięcie nie zostały odpowiednio dopasowane."
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "I<fd> was created via a call to B<timerfd_create>(2) and the wrong size "
302 "buffer was given to B<read>(); see B<timerfd_create>(2) for further "
303 "information."
304 msgstr ""
305 "I<fd> utworzono przez wywołanie B<timerfd_create>(2) i do B<read>() podano "
306 "nieprawidłowy rozmiar bufora; więcej informacji w podręczniku "
307 "B<timerfd_create>(2)."
308
309 #. type: TP
310 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
311 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
312 #, no-wrap
313 msgid "B<EIO>"
314 msgstr "B<EIO>"
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 "I/O error. This will happen for example when the process is in a background "
321 "process group, tries to read from its controlling terminal, and either it is "
322 "ignoring or blocking B<SIGTTIN> or its process group is orphaned. It may "
323 "also occur when there is a low-level I/O error while reading from a disk or "
324 "tape. A further possible cause of B<EIO> on networked filesystems is when "
325 "an advisory lock had been taken out on the file descriptor and this lock has "
326 "been lost. See the I<Lost locks> section of B<fcntl>(2) for further "
327 "details."
328 msgstr ""
329 "Błąd wejścia/wyjścia. Zdarza się to na przykład, gdy proces jest w grupie "
330 "procesów tła, próbuje czytać z kontrolującego terminala, i blokuje lub "
331 "ignoruje sygnał B<SIGTTIN>, lub jego grupa procesów jest osierocona. Może "
332 "się to również zdarzyć, gdy wystąpi niskopoziomowy błąd wejścia/wyjścia "
333 "podczas odczytu z dysku lub taśmy. Kolejną możliwością, na sieciowych "
334 "systemach plików, jest sytuacja, gdy blokada doradcza została ściągnięta z "
335 "deskryptora pliku i blokada ta została zagubiona. Więcej informacji w "
336 "rozdziale I<Zagubione blokady> podręcznika B<fcntl>(2)."
337
338 #. type: TP
339 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
340 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
341 #, no-wrap
342 msgid "B<EISDIR>"
343 msgstr "B<EISDIR>"
344
345 #. type: Plain text
346 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
347 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
348 msgid "I<fd> refers to a directory."
349 msgstr "I<fd> odnosi się do katalogu."
350
351 #. type: Plain text
352 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
353 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
354 msgid "Other errors may occur, depending on the object connected to I<fd>."
355 msgstr ""
356 "Zależnie od obiektu podłączonego do I<fd>, mogą także zajść inne "
357 "(nieopisane) błędy."
358
359 #. type: SH
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 #, no-wrap
363 msgid "STANDARDS"
364 msgstr "STANDARDY"
365
366 #. type: Plain text
367 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
368 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
369 msgid "POSIX.1-2008."
370 msgstr "POSIX.1-2008."
371
372 #. type: SH
373 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
374 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
375 #, no-wrap
376 msgid "HISTORY"
377 msgstr "HISTORIA"
378
379 #. type: Plain text
380 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
381 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
382 msgid "SVr4, 4.3BSD, POSIX.1-2001."
383 msgstr "SVr4, 4.3BSD, POSIX.1-2001."
384
385 #. type: SH
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "NOTES"
390 msgstr "UWAGI"
391
392 #. commit e28cc71572da38a5a12c1cfe4d7032017adccf69
393 #. type: Plain text
394 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
395 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
396 msgid ""
397 "On Linux, B<read>() (and similar system calls) will transfer at most "
398 "0x7ffff000 (2,147,479,552) bytes, returning the number of bytes actually "
399 "transferred. (This is true on both 32-bit and 64-bit systems.)"
400 msgstr ""
401 "W Linuksie, B<read>() (i podobne wywołania systemowe) mogą dokonać transferu "
402 "co najwyżej 0x7ffff000 (2\\ 147\\ 479\\ 552) bajtów, zwracając liczbę bajtów "
403 "rzeczywiście przetransferowanych (jest to prawdziwe zarówno w systamach 32- "
404 "jak i 64-bitowych)."
405
406 #. type: Plain text
407 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
408 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
409 msgid ""
410 "On NFS filesystems, reading small amounts of data will update the timestamp "
411 "only the first time, subsequent calls may not do so. This is caused by "
412 "client side attribute caching, because most if not all NFS clients leave "
413 "I<st_atime> (last file access time) updates to the server, and client side "
414 "reads satisfied from the client's cache will not cause I<st_atime> updates "
415 "on the server as there are no server-side reads. UNIX semantics can be "
416 "obtained by disabling client-side attribute caching, but in most situations "
417 "this will substantially increase server load and decrease performance."
418 msgstr ""
419 "Na systemach plików NFS, odczytanie niewielkiej ilości danych spowoduje "
420 "uaktualnienie znacznika czasu tylko za pierwszym razem, następne wywołania "
421 "tego nie uczynią. Jest to związana z buforowaniem atrybutów po stronie "
422 "klienta, gdyż większość (jeżeli nie wszystkie) klienty NFS pozostawiają "
423 "uaktualnianie I<st_atime> (czasu ostatniego dostępu do pliku) serwerowi, a "
424 "odczyty po stronie klienta, odbywające się z buforów klienta nie spowodują "
425 "uaktualnienia I<st_atime> na serwerze, gdyż nie ma wówczas odczytów po "
426 "stronie serwera. Semantykę UNIX-a można uzyskać poprzez wyłączenie "
427 "buforowania atrybutów po stronie klienta. Jednakże, w większości przypadków "
428 "spowoduje to istotny wzrost obciążenia serwera i zmniejszy wydajność."
429
430 #. type: SH
431 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
432 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
433 #, no-wrap
434 msgid "BUGS"
435 msgstr "USTERKI"
436
437 #. type: Plain text
438 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
439 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
440 msgid ""
441 "According to POSIX.1-2008/SUSv4 Section XSI 2.9.7 (\"Thread Interactions "
442 "with Regular File Operations\"):"
443 msgstr ""
444 "Zgodnie z POSIX.1-2008/SUSv4 Section XSI 2.9.7 (\\[Bq]Thread Interactions "
445 "with Regular File Operations\\[rq]):"
446
447 #. type: Plain text
448 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
449 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
450 msgid ""
451 "All of the following functions shall be atomic with respect to each other in "
452 "the effects specified in POSIX.1-2008 when they operate on regular files or "
453 "symbolic links: ..."
454 msgstr ""
455 "Wszystkie poniższe funkcje powinny być atomowe w odniesieniu do innych, "
456 "biorąc pod uwagę wyniki określone w POSIX.1-2008, gdy działają na zwykłych "
457 "plikach lub dowiązaniach symbolicznych: ..."
458
459 #
460 #. http://thread.gmane.org/gmane.linux.kernel/1649458
461 #. From: Michael Kerrisk (man-pages <mtk.manpages <at> gmail.com>
462 #. Subject: Update of file offset on write() etc. is non-atomic with I/O
463 #. Date: 2014-02-17 15:41:37 GMT
464 #. Newsgroups: gmane.linux.kernel, gmane.linux.file-systems
465 #. commit 9c225f2655e36a470c4f58dbbc99244c5fc7f2d4
466 #. Author: Linus Torvalds <[email protected]>
467 #. Date: Mon Mar 3 09:36:58 2014 -0800
468 #. vfs: atomic f_pos accesses as per POSIX
469 #. type: Plain text
470 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
471 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
472 msgid ""
473 "Among the APIs subsequently listed are B<read>() and B<readv>(2). And "
474 "among the effects that should be atomic across threads (and processes) are "
475 "updates of the file offset. However, before Linux 3.14, this was not the "
476 "case: if two processes that share an open file description (see B<open>(2)) "
477 "perform a B<read>() (or B<readv>(2)) at the same time, then the I/O "
478 "operations were not atomic with respect to updating the file offset, with "
479 "the result that the reads in the two processes might (incorrectly) overlap "
480 "in the blocks of data that they obtained. This problem was fixed in Linux "
481 "3.14."
482 msgstr ""
483 "Spośród wymienionych tam dalej API są między innymi B<read>() i B<readv>(2). "
484 "I spośród efektów, które powinny być atomowe pomiędzy wątkami (i procesami) "
485 "jest aktualizacja przesunięcia pliku. Jednak przed Linuksem 3.14 tak się nie "
486 "działo: jeśli dwa procesy dzielące otwarty deskryptor pliku (zob B<open>(2)) "
487 "przeprowadzały B<read>() (lub B<readv>(2)) w tym samym czasie, to operacje "
488 "wejścia/wyjścia nie były niepodzielne w odniesieniu do aktualizacji "
489 "przesunięcia pliku, co powodowało, że bloki danych odczytywane przez dwa "
490 "procesy mogły się (nieprawidłowo) nakładać, w blokach danych, które "
491 "uzyskały. Problem został naprawiony w Linuksie 3.14."
492
493 #. type: SH
494 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
495 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
496 #, no-wrap
497 msgid "SEE ALSO"
498 msgstr "ZOBACZ TAKŻE"
499
500 #. type: Plain text
501 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
502 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
503 msgid ""
504 "B<close>(2), B<fcntl>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), B<pread>(2), "
505 "B<readdir>(2), B<readlink>(2), B<readv>(2), B<select>(2), B<write>(2), "
506 "B<fread>(3)"
507 msgstr ""
508 "B<close>(2), B<fcntl>(2), B<ioctl>(2), B<lseek>(2), B<open>(2), B<pread>(2), "
509 "B<readdir>(2), B<readlink>(2), B<readv>(2), B<select>(2), B<write>(2), "
510 "B<fread>(3)"
511
512 #. type: TH
513 #: debian-trixie
514 #, no-wrap
515 msgid "2024-05-02"
516 msgstr "2 maja 2024 r."
517
518 #. type: TH
519 #: debian-trixie
520 #, no-wrap
521 msgid "Linux man-pages 6.9.1"
522 msgstr "Linux man-pages 6.9.1"
523
524 #. type: Plain text
525 #: debian-trixie
526 msgid "Standard C library (I<libc>, I<-lc>)"
527 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
528
529 #. type: Plain text
530 #: debian-trixie fedora-44 fedora-rawhide
531 #, no-wrap
532 msgid "B<ssize_t read(int >I<fd>B<, void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
533 msgstr "B<ssize_t read(int >I<fd>B<, void >I<buf>B<[.>I<count>B<], size_t >I<count>B<);>\n"
534
535 #. type: TH
536 #: fedora-44 fedora-rawhide
537 #, no-wrap
538 msgid "2024-07-23"
539 msgstr "23 lipca 2024 r."
540
541 #. type: TH
542 #: fedora-44 fedora-rawhide
543 #, no-wrap
544 msgid "Linux man-pages 6.13"
545 msgstr "Linux man-pages 6.13"
546
547 #. type: TH
548 #: mageia-cauldron
549 #, no-wrap
550 msgid "Linux man-pages 6.17"
551 msgstr "Linux man-pages 6.17"
552
553 #. type: TH
554 #: opensuse-leap-16-1 opensuse-tumbleweed
555 #, no-wrap
556 msgid "Linux man-pages (unreleased)"
557 msgstr "Linux man-pages (niewydane)"