Debian Codegraph @

po/pl/man3/fopen.3.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 # Adam Byrtek <[email protected]>, 1999.
5 # Andrzej Krzysztofowicz <[email protected]>, 2001.
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:24+0200\n"
11 "PO-Revision-Date: 2025-06-03 21:34+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 22.12.3\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 "fopen"
27 msgstr "fopen"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2025-09-21"
34 msgstr "21 września 2025 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 "fopen, fdopen, freopen - stream open functions"
53 msgstr "fopen, fdopen, freopen - funkcje otwarcia strumienia"
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>stdio.hE<gt>>\n"
80 msgstr "B<#include E<lt>stdio.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<FILE *fopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<);>\n"
88 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
89 "B<FILE *freopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<,>\n"
90 "B< FILE *restrict >I<stream>B<);>\n"
91 msgstr ""
92 "B<FILE *fopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<);>\n"
93 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
94 "B<FILE *freopen(const char *restrict >I<path>B<, const char *restrict >I<mode>B<,>\n"
95 "B< FILE *restrict >I<stream>B<);>\n"
96
97 #. type: Plain text
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 msgid ""
101 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
102 msgstr ""
103 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
104
105 #. type: Plain text
106 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
107 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
108 msgid "B<fdopen>():"
109 msgstr "B<fdopen>():"
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 #, no-wrap
115 msgid " _POSIX_C_SOURCE\n"
116 msgstr " _POSIX_C_SOURCE\n"
117
118 #. type: SH
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 #, no-wrap
122 msgid "DESCRIPTION"
123 msgstr "OPIS"
124
125 #. type: Plain text
126 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
127 #: opensuse-tumbleweed
128 msgid ""
129 "The B<fopen>() function opens the file whose name is the string pointed to "
130 "by I<path> and associates a stream with it."
131 msgstr ""
132 "Funkcja B<fopen>() otwiera plik, którego nazwę wskazuje I<path> i wiąże z "
133 "nim strumień."
134
135 #. type: Plain text
136 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
137 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
138 msgid ""
139 "The argument I<mode> points to a string beginning with one of the following "
140 "sequences (possibly followed by additional characters, as described below):"
141 msgstr ""
142 "Argument I<mode> wskazuje na łańcuch rozpoczynający się jednym z poniższych "
143 "ciągów (mogą po nich występować dodatkowe znaki, zgodnie z opisem poniżej):"
144
145 #. type: TP
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 #, no-wrap
149 msgid "B<r>"
150 msgstr "B<r>"
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 "Open text file for reading. The stream is positioned at the beginning of "
157 "the file."
158 msgstr ""
159 "Otwarcie pliku tekstowego do odczytu. Strumień wskazuje początek pliku."
160
161 #. type: TP
162 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
163 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
164 #, no-wrap
165 msgid "B<r+>"
166 msgstr "B<r+>"
167
168 #. type: Plain text
169 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
170 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
171 msgid ""
172 "Open for reading and writing. The stream is positioned at the beginning of "
173 "the file."
174 msgstr "Otwarcie pliku do odczytu i zapisu. Strumień wskazuje początek pliku."
175
176 #. type: TP
177 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
178 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
179 #, no-wrap
180 msgid "B<w>"
181 msgstr "B<w>"
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "Truncate file to zero length or create text file for writing. The stream is "
188 "positioned at the beginning of the file."
189 msgstr ""
190 "Usunięcie zawartości pliku lub utworzenie nowego pliku tekstowego do zapisu. "
191 "Strumień wskazuje początek pliku."
192
193 #. type: TP
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 #, no-wrap
197 msgid "B<w+>"
198 msgstr "B<w+>"
199
200 #. type: Plain text
201 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
202 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
203 msgid ""
204 "Open for reading and writing. The file is created if it does not exist, "
205 "otherwise it is truncated. The stream is positioned at the beginning of the "
206 "file."
207 msgstr ""
208 "Otwarcie do odczytu i zapisu. Jeśli plik nie istnieje, zostaje utworzony, w "
209 "przeciwnym wypadku jego zawartość zostaje usunięta. Strumień wskazuje "
210 "początek pliku."
211
212 #. type: TP
213 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
214 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
215 #, no-wrap
216 msgid "B<a>"
217 msgstr "B<a>"
218
219 #. type: Plain text
220 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
221 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
222 msgid ""
223 "Open for appending (writing at end of file). The file is created if it does "
224 "not exist. The stream is positioned at the end of the file."
225 msgstr ""
226 "Otwarcie do dopisywania (zapisu na końcu pliku). Jeśli plik nie istnieje, "
227 "zostaje utworzony. Strumień wskazuje na koniec pliku."
228
229 #. type: TP
230 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
231 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
232 #, no-wrap
233 msgid "B<a+>"
234 msgstr "B<a+>"
235
236 #. type: Plain text
237 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
238 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
239 msgid ""
240 "Open for reading and appending (writing at end of file). The file is "
241 "created if it does not exist. Output is always appended to the end of the "
242 "file. POSIX is silent on what the initial read position is when using this "
243 "mode. For glibc, the initial file position for reading is at the beginning "
244 "of the file, but for Android/BSD/MacOS, the initial file position for "
245 "reading is at the end of the file."
246 msgstr ""
247 "Otwarcie do dopisywania (zapisu na końcu pliku). Jeśli plik nie istnieje, "
248 "zostaje utworzony. Wyjście jest zawsze dopisywane na końcu pliku. POSIX "
249 "milczy na temat początkowej pozycji odczytu, przy korzystaniu z tego trybu. "
250 "W przypadku glibc, początkową pozycją pliku do odczytywania jest początek "
251 "pliku, lecz Android/BSD/MacOS ustawiają początkową pozycję pliku do "
252 "odczytywania na końcu pliku."
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 ""
258 "The I<mode> string can also include the letter \\[aq]b\\[aq] either as a "
259 "last character or as a character between the characters in any of the two-"
260 "character strings described above. This is strictly for compatibility with "
261 "ISO C and has no effect; the \\[aq]b\\[aq] is ignored on all POSIX "
262 "conforming systems, including Linux. (Other systems may treat text files "
263 "and binary files differently, and adding the \\[aq]b\\[aq] may be a good "
264 "idea if you do I/O to a binary file and expect that your program may be "
265 "ported to non-UNIX environments.)"
266 msgstr ""
267 "Łańcuch I<mode> może także zawierać literę \\[Bq]b\\[rq] zarówno jak ostatni "
268 "znak jak też jako znak umieszczony pomiędzy znakami dowolnego dwuznakowego "
269 "łańcucha opisanego powyżej. Służy to wyłącznie zgodności z ISO C i nie "
270 "powoduje żadnego efektu, \\[Bq]b\\[rq] jest ignorowane we wszystkich "
271 "systemach zgodnych z POSIX, włączając Linuksa (inne systemy mogą różnie "
272 "traktować pliki tekstowe i pliki binarne; dodanie \\[Bq]b\\[rq] może być "
273 "dobrym pomysłem, jeśli wykonywane są operacje wejścia/wyjścia dla pliku "
274 "binarnego a przewidywane jest przeniesienie programu do środowisk "
275 "nieuniksowych)."
276
277 #. type: Plain text
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 msgid "See NOTES below for details of glibc extensions for I<mode>."
281 msgstr ""
282 "Więcej informacji o rozszerzeniach glibc dla I<mode> zawarto w UWAGACH."
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 "Any created file will have the mode B<S_IRUSR> | B<S_IWUSR> | B<S_IRGRP> | "
289 "B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH> (0666), as modified by the process's "
290 "umask value (see B<umask>(2))."
291 msgstr ""
292 "Wszystkie pliki będą tworzone z uprawnieniami B<S_IRUSR> | B<S_IWUSR> | "
293 "B<S_IRGRP> | B<S_IWGRP> | B<S_IROTH> | B<S_IWOTH> (0666), zmodyfikowanymi "
294 "przez wartość umask procesu (patrz B<umask>(2))."
295
296 #. type: Plain text
297 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
298 #: opensuse-tumbleweed
299 msgid ""
300 "Reads and writes may be intermixed on read/write streams in any order. Note "
301 "that ANSI C requires that a file positioning function intervene between "
302 "output and input, unless an input operation encounters end-of-file. (If "
303 "this condition is not met, then a read is allowed to return the result of "
304 "writes other than the most recent.) Therefore it is good practice (and "
305 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
306 "B<fsetpos>(3) operation between write and read operations on such a "
307 "stream. This operation may be an apparent no-op (as in I<fseek(...,\\ 0L,\\ "
308 "SEEK_CUR)> called for its synchronizing side effect)."
309 msgstr ""
310 "Odczyt i zapis może występować w strumieniu do zapisu/odczytu w dowolnej "
311 "kolejności. Należy zauważyć, że ANSI C wymaga interwencji funkcji "
312 "ustalającej pozycję pliku pomiędzy zapisem i odczytem, chyba że operacja "
313 "odczytu napotka koniec pliku. (Jeśli ten warunek nie jest spełniony, "
314 "operacja odczytu może zwrócić wynik innego zapisu niż ostatni.) Tak więc "
315 "dobrą zasadą (i czasami konieczną pod Linuksem) jest wstawianie funkcji "
316 "B<fseek>(3) lub B<fsetpos>(3) pomiędzy operacjami zapisu i odczytu na takim "
317 "strumieniu. Ta operacja może być pozornym rozkazem pustym, no-op, (tak jak w "
318 "I<fseek(...,\\ 0L,\\ SEEK_CUR>) wywoływanym w celu wykorzystania ubocznych "
319 "skutków synchronizujących."
320
321 #. type: Plain text
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 msgid ""
325 "Opening a file in append mode (B<a> as the first character of I<mode>) "
326 "causes all subsequent write operations to this stream to occur at end-of-"
327 "file, as if preceded by the call:"
328 msgstr ""
329 "Otwarcie pliku w trybie dopisywania (B<a> jako pierwszy znak I<mode>) "
330 "powoduje, że wszystkie późniejsze operacje zapisu do tego strumienia "
331 "wystąpią na końcu pliku, tak jakby były poprzedzone wywołaniem"
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 #, no-wrap
337 msgid "fseek(stream, 0, SEEK_END);\n"
338 msgstr "fseek(stream, 0, SEEK_END);\n"
339
340 #. type: Plain text
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 msgid ""
344 "The file descriptor associated with the stream is opened as if by a call to "
345 "B<open>(2) with the following flags:"
346 msgstr ""
347 "Deskryptor pliku związany ze strumieniem jest otwierany w taki sposób, jak "
348 "przy wywołaniu B<open>(2) z następującymi znacznikami:"
349
350 #. type: tbl table
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 #, no-wrap
354 msgid "fopen() mode"
355 msgstr "tryb fopen()"
356
357 #. type: tbl table
358 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
359 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
360 #, no-wrap
361 msgid "open() flags"
362 msgstr "znaczniki open()"
363
364 #. type: tbl table
365 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
366 #: opensuse-tumbleweed
367 #, no-wrap
368 msgid "r"
369 msgstr "r"
370
371 #. type: tbl table
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "O_RDONLY"
376 msgstr "O_RDONLY"
377
378 #. type: tbl table
379 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
380 #: opensuse-tumbleweed
381 #, no-wrap
382 msgid "w"
383 msgstr "w"
384
385 #. type: tbl table
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 #, no-wrap
389 msgid "O_WRONLY | O_CREAT | O_TRUNC"
390 msgstr "O_WRONLY | O_CREAT | O_TRUNC"
391
392 #. type: tbl table
393 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
394 #: opensuse-tumbleweed
395 #, no-wrap
396 msgid "a"
397 msgstr "a"
398
399 #. type: tbl table
400 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
401 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
402 #, no-wrap
403 msgid "O_WRONLY | O_CREAT | O_APPEND"
404 msgstr "O_WRONLY | O_CREAT | O_APPEND"
405
406 #. type: tbl table
407 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
408 #: opensuse-tumbleweed
409 #, no-wrap
410 msgid "r+"
411 msgstr "r+"
412
413 #. type: tbl table
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 #, no-wrap
417 msgid "O_RDWR"
418 msgstr "O_RDWR"
419
420 #. type: tbl table
421 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
422 #: opensuse-tumbleweed
423 #, no-wrap
424 msgid "w+"
425 msgstr "w+"
426
427 #. type: tbl table
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 #, no-wrap
431 msgid "O_RDWR | O_CREAT | O_TRUNC"
432 msgstr "O_RDWR | O_CREAT | O_TRUNC"
433
434 #. type: tbl table
435 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
436 #: opensuse-tumbleweed
437 #, no-wrap
438 msgid "a+"
439 msgstr "a+"
440
441 #. type: tbl table
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 #, no-wrap
445 msgid "O_RDWR | O_CREAT | O_APPEND"
446 msgstr "O_RDWR | O_CREAT | O_APPEND"
447
448 #. type: SS
449 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
450 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
451 #, no-wrap
452 msgid "fdopen()"
453 msgstr "fdopen()"
454
455 #. type: Plain text
456 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
457 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
458 msgid ""
459 "The B<fdopen>() function associates a stream with the existing file "
460 "descriptor, I<fd>. The I<mode> of the stream (one of the values \"r\", \"r+"
461 "\", \"w\", \"w+\", \"a\", \"a+\") must be compatible with the mode of the "
462 "file descriptor. The file position indicator of the new stream is set to "
463 "that belonging to I<fd>, and the error and end-of-file indicators are "
464 "cleared. Modes \"w\" or \"w+\" do not cause truncation of the file. The "
465 "file descriptor is not dup'ed, and will be closed when the stream created by "
466 "B<fdopen>() is closed. The result of applying B<fdopen>() to a shared "
467 "memory object is undefined."
468 msgstr ""
469 "Funkcja B<fdopen>() wiąże strumień z istniejącym deskryptorem pliku, I<fd>. "
470 "Łańcuch I<mode> strumienia (jeden z \\[Bq]r\\[rq], \\[Bq]r+\\[rq], \\[Bq]w\\"
471 "[rq], \\[Bq]w+\\[rq], \\[Bq]a\\[rq], \\[Bq]a+\\[rq]) musi być zgodny z "
472 "trybem otwarcia deskryptora pliku. Pozycja nowego strumienia jest taka sama, "
473 "jak pozycja deskryptora I<fd>, a znaczniki błędu i końca pliku są wyłączane. "
474 "Tryby \\[Bq]w\\[rq] oraz \\[Bq]w+\\[rq] nie powodują usunięcia zawartości "
475 "pliku. Deskryptor pliku nie jest powielany i zostanie zamknięty w chwili "
476 "zamknięcia strumienia utworzonego za pomocą B<fdopen>(). Rezultat wywołania "
477 "funkcji B<fdopen>() dla obiektu pamięci dzielonej jest niezdefiniowany."
478
479 #. type: SS
480 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
481 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
482 #, no-wrap
483 msgid "freopen()"
484 msgstr "freopen()"
485
486 #. type: Plain text
487 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
488 #: opensuse-tumbleweed
489 msgid ""
490 "The B<freopen>() function opens the file whose name is the string pointed "
491 "to by I<path> and associates the stream pointed to by I<stream> with it. "
492 "The original stream (if it exists) is closed. The I<mode> argument is used "
493 "just as in the B<fopen>() function."
494 msgstr ""
495 "Funkcja B<freopen>() otwiera plik, którego nazwa jest zawarta w łańcuchu "
496 "wskazywanym przez I<path> i wiąże z nim strumień wskazywany przez I<stream>. "
497 "Pierwotny strumień jest zamykany (jeśli istnieje). Argument I<mode> ma takie "
498 "samo znaczenie jak w przypadku funkcji B<fopen>()."
499
500 #. type: Plain text
501 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
502 #: opensuse-tumbleweed
503 msgid ""
504 "If I<path> is a null pointer, B<freopen>() changes the mode of the stream "
505 "to that specified in I<mode>; that is, B<freopen>() reopens the pathname "
506 "that is associated with the stream. The specification for this behavior was "
507 "added in the C99 standard, which says:"
508 msgstr ""
509 "Jeśli I<path> jest wskaźnikiem pustym, B<freopen>() zmienia tryb strumienia "
510 "na tryb określony w I<mode>; to jest B<freopen>() otwiera ponownie ścieżkę, "
511 "która jest związana ze strumieniem. Określenie tego zachowania zostało "
512 "dodane w standardzie C99, które opisuje go następująco:"
513
514 #. type: Plain text
515 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
516 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
517 msgid ""
518 "In this case, the file descriptor associated with the stream need not be "
519 "closed if the call to B<freopen>() succeeds. It is implementation-defined "
520 "which changes of mode are permitted (if any), and under what circumstances."
521 msgstr ""
522 "W takim przypadku, deskryptor pliku związany ze strumieniem nie musi być "
523 "zamknięty, jeśli wywołanie do B<freopen>() powiedzie się. Od implementacji "
524 "zależy, które zmiany trybów są dozwolone (o ile w ogóle) i w jakich "
525 "okolicznościach."
526
527 #. type: Plain text
528 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
529 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
530 msgid ""
531 "The primary use of the B<freopen>() function is to change the file "
532 "associated with a standard text stream (I<stderr>, I<stdin>, or I<stdout>)."
533 msgstr ""
534 "Podstawowym zastosowaniem funkcji B<freopen>() jest zmiana pliku związanym "
535 "ze standardowym strumieniem tekstowym (I<stderr>, I<stdin> lub I<stdout>)."
536
537 #. type: SH
538 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
539 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
540 #, no-wrap
541 msgid "RETURN VALUE"
542 msgstr "WARTOŚĆ ZWRACANA"
543
544 #. type: Plain text
545 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
546 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
547 msgid ""
548 "Upon successful completion B<fopen>(), B<fdopen>(), and B<freopen>() return "
549 "a I<FILE> pointer. Otherwise, NULL is returned and I<errno> is set to "
550 "indicate the error."
551 msgstr ""
552 "Jeśli funkcja B<fopen>(), B<fdopen>() czy B<freopen>() zakończy się "
553 "pomyślnie, zwraca wskaźnik do struktury B<FILE>. W przeciwnym wypadku zwraca "
554 "NULL a zmiennej globalnej I<errno> nadawana jest wartość określającą rodzaj "
555 "błędu."
556
557 #. type: SH
558 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
559 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
560 #, no-wrap
561 msgid "ERRORS"
562 msgstr "BŁĘDY"
563
564 #. type: TP
565 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
566 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
567 #, no-wrap
568 msgid "B<EINVAL>"
569 msgstr "B<EINVAL>"
570
571 #. type: Plain text
572 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
573 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
574 msgid ""
575 "The I<mode> provided to B<fopen>(), B<fdopen>(), or B<freopen>() was "
576 "invalid."
577 msgstr ""
578 "Argument I<mode> podany dla B<fopen>(), B<fdopen>() lub B<freopen>() jest "
579 "nieprawidłowy."
580
581 #. type: Plain text
582 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
583 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
584 msgid ""
585 "The B<fopen>(), B<fdopen>(), and B<freopen>() functions may also fail and "
586 "set I<errno> for any of the errors specified for the routine B<malloc>(3)."
587 msgstr ""
588 "Funkcje B<fopen>(), B<fdopen>() i B<freopen>() mogą także zakończyć się "
589 "niepowodzeniem i ustawić wartość I<errno> na dowolny błąd wymieniony w "
590 "opisie funkcji B<malloc>(3)."
591
592 #. type: Plain text
593 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
594 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
595 msgid ""
596 "The B<fopen>() function may also fail and set I<errno> for any of the "
597 "errors specified for the routine B<open>(2)."
598 msgstr ""
599 "Funkcja B<fopen>() może także zakończyć się niepowodzeniem i ustawić wartość "
600 "I<errno> na dowolny błąd wymieniony w opisie funkcji B<open>(2)."
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 "The B<fdopen>() function may also fail and set I<errno> for any of the "
607 "errors specified for the routine B<fcntl>(2)."
608 msgstr ""
609 "Funkcja B<fdopen>() może także zakończyć się niepowodzeniem i ustawić "
610 "wartość I<errno> na dowolny błąd wymieniony w opisie funkcji B<fcntl>(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 ""
616 "The B<freopen>() function may also fail and set I<errno> for any of the "
617 "errors specified for the routines B<open>(2), B<fclose>(3), and B<fflush>(3)."
618 msgstr ""
619 "Funkcja B<freopen>() może także zakończyć się niepowodzeniem i ustawić "
620 "wartość I<errno> na dowolny błąd wymieniony w opisie funkcji B<open>(2), "
621 "B<fclose>(3) i B<fflush>(3)."
622
623 #. type: SH
624 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
625 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
626 #, no-wrap
627 msgid "ATTRIBUTES"
628 msgstr "ATRYBUTY"
629
630 #. type: Plain text
631 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
632 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
633 msgid ""
634 "For an explanation of the terms used in this section, see B<attributes>(7)."
635 msgstr ""
636 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
637 "B<attributes>(7)."
638
639 #. type: tbl table
640 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
641 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
642 #, no-wrap
643 msgid "Interface"
644 msgstr "Interfejs"
645
646 #. type: tbl table
647 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
648 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
649 #, no-wrap
650 msgid "Attribute"
651 msgstr "Atrybut"
652
653 #. type: tbl table
654 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
655 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
656 #, no-wrap
657 msgid "Value"
658 msgstr "Wartość"
659
660 #. type: tbl table
661 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
662 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
663 #, no-wrap
664 msgid ".na\n"
665 msgstr ".na\n"
666
667 #. type: tbl table
668 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
669 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
670 #, no-wrap
671 msgid ".nh\n"
672 msgstr ".nh\n"
673
674 #. type: tbl table
675 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
676 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
677 #, no-wrap
678 msgid ""
679 "B<fopen>(),\n"
680 "B<fdopen>(),\n"
681 "B<freopen>()"
682 msgstr ""
683 "B<fopen>(),\n"
684 "B<fdopen>(),\n"
685 "B<freopen>()"
686
687 #. type: tbl table
688 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
689 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
690 #, no-wrap
691 msgid "Thread safety"
692 msgstr "Bezpieczeństwo wątkowe"
693
694 #. type: tbl table
695 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
696 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
697 #, no-wrap
698 msgid "MT-Safe"
699 msgstr "MT-bezpieczne"
700
701 #. type: SH
702 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
703 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
704 #, no-wrap
705 msgid "STANDARDS"
706 msgstr "STANDARDY"
707
708 #. type: TP
709 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
710 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
711 #, no-wrap
712 msgid "B<fopen>()"
713 msgstr "B<fopen>()"
714
715 #. type: TQ
716 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
717 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
718 #, no-wrap
719 msgid "B<freopen>()"
720 msgstr "B<freopen>()"
721
722 #. type: Plain text
723 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
724 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
725 msgid "C11, POSIX.1-2008."
726 msgstr "C11, POSIX.1-2008."
727
728 #. type: TP
729 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
730 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
731 #, no-wrap
732 msgid "B<fdopen>()"
733 msgstr "B<fdopen>()"
734
735 #. type: Plain text
736 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
737 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
738 msgid "POSIX.1-2008."
739 msgstr "POSIX.1-2008."
740
741 #. type: SH
742 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
743 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
744 #, no-wrap
745 msgid "HISTORY"
746 msgstr "HISTORIA"
747
748 #. type: Plain text
749 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
750 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
751 msgid "POSIX.1-2001, C89."
752 msgstr "POSIX.1-2001, C89."
753
754 #. type: Plain text
755 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
756 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
757 msgid "POSIX.1-2001."
758 msgstr "POSIX.1-2001."
759
760 #. type: SH
761 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
762 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
763 #, no-wrap
764 msgid "NOTES"
765 msgstr "UWAGI"
766
767 #. type: SS
768 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
769 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
770 #, no-wrap
771 msgid "glibc notes"
772 msgstr "Uwagi dla glibc"
773
774 #. type: Plain text
775 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
776 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
777 msgid ""
778 "The GNU C library allows the following extensions for the string specified "
779 "in I<mode>:"
780 msgstr ""
781 "Biblioteka GNU C umożliwia stosowanie następujących rozszerzeń dla łańcucha "
782 "podanego w I<mode>:"
783
784 #. type: TP
785 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
786 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
787 #, no-wrap
788 msgid "B<c> (since glibc 2.3.3)"
789 msgstr "B<c> (od glibc 2.3.3)"
790
791 #. type: Plain text
792 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
793 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
794 msgid ""
795 "Do not make the open operation, or subsequent read and write operations, "
796 "thread cancelation points. This flag is ignored for B<fdopen>()."
797 msgstr ""
798 "W przypadku operacji otwarcia lub kolejnych operacji odczytu i zapisu, nie "
799 "robi punktów anulowania (cancellation point) wątku. Znacznik ten jest "
800 "ignorowany w przypadku B<fdopen>()."
801
802 #. type: TP
803 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
804 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
805 #, no-wrap
806 msgid "B<e> (since glibc 2.7)"
807 msgstr "B<e> (od glibc 2.7)"
808
809 #. type: Plain text
810 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
811 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
812 msgid ""
813 "Open the file with the B<O_CLOEXEC> flag. See B<open>(2) for more "
814 "information. This flag is ignored for B<fdopen>()."
815 msgstr ""
816 "Otwiera plik ze znacznikiem B<O_CLOEXEC>. Więcej informacji w podręczniku "
817 "B<open>(2). Znacznik ten jest ignorowany w przypadku B<fdopen>()."
818
819 #. type: TP
820 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
821 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
822 #, no-wrap
823 msgid "B<m> (since glibc 2.3)"
824 msgstr "B<m> (od glibc 2.3)"
825
826 #. As at glibc 2.4:
827 #. type: Plain text
828 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
829 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
830 msgid ""
831 "Attempt to access the file using B<mmap>(2), rather than I/O system calls "
832 "(B<read>(2), B<write>(2)). Currently, use of B<mmap>(2) is attempted only "
833 "for a file opened for reading."
834 msgstr ""
835 "Próbuje uzyskać dostęp do pliku za pomocą B<mmap>(2), zamiast wywołań "
836 "systemowych wejścia/wyjścia (B<read>(2), B<write>(2)). Obecnie, próba "
837 "korzystania z B<mmap>(2) nastąpi tylko, gdy plik jest otwierany do odczytu."
838
839 #. type: TP
840 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
841 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
842 #, no-wrap
843 msgid "B<x>"
844 msgstr "B<x>"
845
846 #. Since glibc 2.0?
847 #. FIXME . C11 specifies this flag
848 #. type: Plain text
849 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
850 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
851 msgid ""
852 "Open the file exclusively (like the B<O_EXCL> flag of B<open>(2)). If the "
853 "file already exists, B<fopen>() fails, and sets I<errno> to B<EEXIST>. "
854 "This flag is ignored for B<fdopen>()."
855 msgstr ""
856 "Otwiera plik na wyłączność (jak przy znaczniku B<O_EXCL> B<open>(2)). Jeśli "
857 "plik już istnieje, B<fopen>() zawodzi i ustawia I<errno> na B<EEXIST>. "
858 "Znacznik ten jest ignorowany w przypadku B<fdopen>()."
859
860 #. type: Plain text
861 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
862 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
863 msgid ""
864 "In addition to the above characters, B<fopen>() and B<freopen>() support "
865 "the following syntax in I<mode>:"
866 msgstr ""
867 "Oprócz powyższych znaków, B<fopen>() i B<freopen>() obsługują ponadto "
868 "następującą składnię w I<mode>:"
869
870 #. type: Plain text
871 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
872 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
873 msgid "B< ,ccs=>I<string>"
874 msgstr "B< ,ccs=>I<łańcuch>"
875
876 #. type: Plain text
877 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
878 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
879 msgid ""
880 "The given I<string> is taken as the name of a coded character set and the "
881 "stream is marked as wide-oriented. Thereafter, internal conversion "
882 "functions convert I/O to and from the character set I<string>. If the "
883 "B<,ccs=>I<string> syntax is not specified, then the wide-orientation of the "
884 "stream is determined by the first file operation. If that operation is a "
885 "wide-character operation, the stream is marked wide-oriented, and functions "
886 "to convert to the coded character set are loaded."
887 msgstr ""
888 "Podany I<string> jest przyjmowany jako nazwa zakodowanego zestawu znaków, a "
889 "strumień jest oznaczany jako zorientowany szeroko. Od tego momentu, "
890 "wewnętrzna funkcje konwertujące przekształcają wejście/wyjście na i z "
891 "zestawu znaków I<string>. Jeśli nie użyje się składni B<,ccs=>I<string>, to "
892 "szerokie zorientowanie strumienia jest ustalane po pierwszej operacji na "
893 "pliku. Jeśli operacja ta działa na szerokich znakach, to strumień jest "
894 "oznaczany jako zorientowany szeroko i ładowane są funkcje służące do "
895 "konwersji na zakodowany zestaw znaków."
896
897 #. type: SH
898 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
899 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
900 #, no-wrap
901 msgid "BUGS"
902 msgstr "USTERKI"
903
904 #. FIXME . http://sourceware.org/bugzilla/show_bug.cgi?id=12685
905 #. type: Plain text
906 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
907 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
908 msgid ""
909 "When parsing for individual flag characters in I<mode> (i.e., the characters "
910 "preceding the \"ccs\" specification), the glibc implementation of "
911 "B<fopen>() and B<freopen>() limits the number of characters examined in "
912 "I<mode> to 7 (or, before glibc 2.14, to 6, which was not enough to include "
913 "possible specifications such as \"rb+cmxe\"). The current implementation of "
914 "B<fdopen>() parses at most 5 characters in I<mode>."
915 msgstr ""
916 "Przy przetwarzaniu I<mode> pod kątem wyodrębnienia poszczególnych znaków "
917 "znaczników (tj. znaków poprzedzających określenie \\[Bq]ccs\\[rq]), "
918 "implementacja glibc B<fopen>() i B<freopen>() ogranicza liczbę znaków "
919 "sprawdzanych w I<mode> do 7 (lub, przed glibc 2.14, do 6, co nie było "
920 "wystarczające do uwzględnienia możliwych określeń takich jak \\[Bq]rb+cmxe\\"
921 "[rq]). Bieżąca implementacja B<fdopen>() sprawdza co najwyżej 5 znaków w "
922 "I<mode>."
923
924 #. type: SH
925 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
926 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
927 #, no-wrap
928 msgid "SEE ALSO"
929 msgstr "ZOBACZ TAKŻE"
930
931 #. type: Plain text
932 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
933 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
934 msgid ""
935 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
936 "B<open_memstream>(3)"
937 msgstr ""
938 "B<open>(2), B<fclose>(3), B<fileno>(3), B<fmemopen>(3), B<fopencookie>(3), "
939 "B<open_memstream>(3)"
940
941 #. type: TH
942 #: debian-trixie
943 #, no-wrap
944 msgid "2024-05-02"
945 msgstr "2 maja 2024 r."
946
947 #. type: TH
948 #: debian-trixie
949 #, no-wrap
950 msgid "Linux man-pages 6.9.1"
951 msgstr "Linux man-pages 6.9.1"
952
953 #. type: Plain text
954 #: debian-trixie
955 msgid "Standard C library (I<libc>, I<-lc>)"
956 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
957
958 #. type: Plain text
959 #: debian-trixie fedora-44 fedora-rawhide
960 #, no-wrap
961 msgid ""
962 "B<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
963 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
964 "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
965 "B< FILE *restrict >I<stream>B<);>\n"
966 msgstr ""
967 "B<FILE *fopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<);>\n"
968 "B<FILE *fdopen(int >I<fd>B<, const char *>I<mode>B<);>\n"
969 "B<FILE *freopen(const char *restrict >I<pathname>B<, const char *restrict >I<mode>B<,>\n"
970 "B< FILE *restrict >I<stream>B<);>\n"
971
972 #. type: Plain text
973 #: debian-trixie fedora-44 fedora-rawhide
974 msgid ""
975 "The B<fopen>() function opens the file whose name is the string pointed to "
976 "by I<pathname> and associates a stream with it."
977 msgstr ""
978 "Funkcja B<fopen>() otwiera plik, którego nazwę wskazuje I<pathname> i wiąże "
979 "z nim strumień."
980
981 #. type: Plain text
982 #: debian-trixie fedora-44 fedora-rawhide
983 msgid ""
984 "Reads and writes may be intermixed on read/write streams in any order. Note "
985 "that ANSI C requires that a file positioning function intervene between "
986 "output and input, unless an input operation encounters end-of-file. (If "
987 "this condition is not met, then a read is allowed to return the result of "
988 "writes other than the most recent.) Therefore it is good practice (and "
989 "indeed sometimes necessary under Linux) to put an B<fseek>(3) or "
990 "B<fsetpos>(3) operation between write and read operations on such a "
991 "stream. This operation may be an apparent no-op (as in I<fseek(..., 0L, "
992 "SEEK_CUR)> called for its synchronizing side effect)."
993 msgstr ""
994 "Odczyt i zapis może występować w strumieniu do zapisu/odczytu w dowolnej "
995 "kolejności. Należy zauważyć, że ANSI C wymaga interwencji funkcji "
996 "ustalającej pozycję pliku pomiędzy zapisem i odczytem, chyba że operacja "
997 "odczytu napotka koniec pliku. (Jeśli ten warunek nie jest spełniony, "
998 "operacja odczytu może zwrócić wynik innego zapisu niż ostatni.) Tak więc "
999 "dobrą zasadą (i czasami konieczną pod Linuksem) jest wstawianie funkcji "
1000 "B<fseek>(3) lub B<fsetpos>(3) pomiędzy operacjami zapisu i odczytu na takim "
1001 "strumieniu. Ta operacja może być pozornym rozkazem pustym, no-op, (tak jak w "
1002 "I<fseek(..., 0L, SEEK_CUR>) wywoływanym w celu wykorzystania ubocznych "
1003 "skutków synchronizujących."
1004
1005 #. type: tbl table
1006 #: debian-trixie fedora-44 fedora-rawhide
1007 #, no-wrap
1008 msgid "I<r>"
1009 msgstr "I<r>"
1010
1011 #. type: tbl table
1012 #: debian-trixie fedora-44 fedora-rawhide
1013 #, no-wrap
1014 msgid "I<w>"
1015 msgstr "I<w>"
1016
1017 #. type: tbl table
1018 #: debian-trixie fedora-44 fedora-rawhide
1019 #, no-wrap
1020 msgid "I<a>"
1021 msgstr "I<a>"
1022
1023 #. type: tbl table
1024 #: debian-trixie fedora-44 fedora-rawhide
1025 #, no-wrap
1026 msgid "I<r+>"
1027 msgstr "I<r+>"
1028
1029 #. type: tbl table
1030 #: debian-trixie fedora-44 fedora-rawhide
1031 #, no-wrap
1032 msgid "I<w+>"
1033 msgstr "I<w+>"
1034
1035 #. type: tbl table
1036 #: debian-trixie fedora-44 fedora-rawhide
1037 #, no-wrap
1038 msgid "I<a+>"
1039 msgstr "I<a+>"
1040
1041 #. type: Plain text
1042 #: debian-trixie fedora-44 fedora-rawhide
1043 msgid ""
1044 "The B<freopen>() function opens the file whose name is the string pointed "
1045 "to by I<pathname> and associates the stream pointed to by I<stream> with "
1046 "it. The original stream (if it exists) is closed. The I<mode> argument is "
1047 "used just as in the B<fopen>() function."
1048 msgstr ""
1049 "Funkcja B<freopen>() otwiera plik, którego nazwa jest zawarta w łańcuchu "
1050 "wskazywanym przez I<pathname> i wiąże z nim strumień wskazywany przez "
1051 "I<stream>. Pierwotny strumień jest zamykany (jeśli istnieje). Argument "
1052 "I<mode> ma takie samo znaczenie jak w przypadku funkcji B<fopen>()."
1053
1054 #. type: Plain text
1055 #: debian-trixie fedora-44 fedora-rawhide
1056 msgid ""
1057 "If the I<pathname> argument is a null pointer, B<freopen>() changes the "
1058 "mode of the stream to that specified in I<mode>; that is, B<freopen>() "
1059 "reopens the pathname that is associated with the stream. The specification "
1060 "for this behavior was added in the C99 standard, which says:"
1061 msgstr ""
1062 "Jeśli argument I<pathname> jest wskaźnikiem pustym, B<freopen>() zmienia "
1063 "tryb strumienia na tryb określony w I<mode>; to jest B<freopen>() otwiera "
1064 "ponownie ścieżkę, która jest związana ze strumieniem. Określenie tego "
1065 "zachowania zostało dodane w standardzie C99, które opisuje go następująco:"
1066
1067 #. type: TH
1068 #: fedora-44 fedora-rawhide
1069 #, no-wrap
1070 msgid "2024-07-23"
1071 msgstr "23 lipca 2024 r."
1072
1073 #. type: TH
1074 #: fedora-44 fedora-rawhide
1075 #, no-wrap
1076 msgid "Linux man-pages 6.13"
1077 msgstr "Linux man-pages 6.13"
1078
1079 #. type: TH
1080 #: mageia-cauldron
1081 #, no-wrap
1082 msgid "Linux man-pages 6.17"
1083 msgstr "Linux man-pages 6.17"
1084
1085 #. type: TH
1086 #: opensuse-leap-16-1 opensuse-tumbleweed
1087 #, no-wrap
1088 msgid "Linux man-pages (unreleased)"
1089 msgstr "Linux man-pages (niewydane)"