Debian Codegraph @

po/pl/man3/strtok.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 # Paweł Wilk <[email protected]>, 1999.
5 # Andrzej Krzysztofowicz <[email protected]>, 2002.
6 # Robert Luberda <[email protected]>, 2014, 2019.
7 # Michał Kułach <[email protected]>, 2016, 2024, 2025, 2026.
8 msgid ""
9 msgstr ""
10 "Project-Id-Version: manpages-pl\n"
11 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
12 "PO-Revision-Date: 2026-06-22 21:46+0200\n"
13 "Last-Translator: Michał Kułach <[email protected]>\n"
14 "Language-Team: Polish <[email protected]>\n"
15 "Language: pl\n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19 "Plural-Forms: nplurals=3; plural=(n==1 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 "
20 "|| n%100>=20) ? 1 : 2);\n"
21 "X-Generator: Lokalize 25.04.0\n"
22
23 #. type: TH
24 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
25 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
26 #, no-wrap
27 msgid "strtok"
28 msgstr "strtok"
29
30 #. type: TH
31 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-25"
34 msgstr "25 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-unstable opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "strtok - extract tokens from strings"
52 msgstr "strtok - wydziela słowa z łańcuchów"
53
54 #. type: SH
55 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
56 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
57 #, no-wrap
58 msgid "LIBRARY"
59 msgstr "BIBLIOTEKA"
60
61 #. type: Plain text
62 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
63 #: opensuse-leap-16-1 opensuse-tumbleweed
64 msgid "Standard C library (I<libc>,\\ I<-lc>)"
65 msgstr "Standardowa biblioteka C (I<libc>,\\ I<-lc>)"
66
67 #. type: SH
68 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
69 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
70 #, no-wrap
71 msgid "SYNOPSIS"
72 msgstr "SKŁADNIA"
73
74 #. type: Plain text
75 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
76 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
77 #, no-wrap
78 msgid "B<#include E<lt>string.hE<gt>>\n"
79 msgstr "B<#include E<lt>string.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
83 #, no-wrap
84 msgid "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
85 msgstr "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
86
87 #. type: SH
88 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
89 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
90 #, no-wrap
91 msgid "DESCRIPTION"
92 msgstr "OPIS"
93
94 #. type: Plain text
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 msgid ""
98 "The B<strtok>() function breaks a string into a sequence of zero or more "
99 "nonempty tokens. On the first call to B<strtok>(), the string to be parsed "
100 "should be specified in I<str>. In each subsequent call that should parse "
101 "the same string, I<str> must be NULL."
102 msgstr ""
103 "Funkcja B<strtok>() dzieli łańcuch na sekwencję zera lub więcej niepustych "
104 "słów. Przy pierwszym wywołaniu funkcji B<strtok>(), łańcuch do przetworzenia "
105 "powinien być podany w I<str>. W każdym kolejnym wywołaniu, które powinno "
106 "przetworzyć ten sam łańcuch, I<str> musi być NULL."
107
108 #. type: Plain text
109 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
110 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
111 msgid ""
112 "The I<delim> argument specifies a set of bytes that delimit the tokens in "
113 "the parsed string. The caller may specify different strings in I<delim> in "
114 "successive calls that parse the same string."
115 msgstr ""
116 "Argument I<delim> określa zbiór bajtów służących do oddzielania słów w "
117 "przetwarzanym łańcuchu. Program wywołujący może podawać różne argumenty "
118 "I<delim> w kolejnych wywołaniach przetwarzających ten sam łańcuch znaków."
119
120 #. type: Plain text
121 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
122 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
123 msgid ""
124 "Each call to B<strtok>() returns a pointer to a null-terminated string "
125 "containing the next token. This string does not include the delimiting "
126 "byte. If no more tokens are found, B<strtok>() returns NULL."
127 msgstr ""
128 "Każde wywołanie funkcji B<strtok>() zwraca wskaźnik do zakończonego znakiem "
129 "null łańcuch zawierającego następne słowo. Łańcuch ten nie zawiera znaku "
130 "separatora. Jeśli nie ma więcej słów, to B<strtok>() zwraca NULL."
131
132 #. type: Plain text
133 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
134 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
135 msgid ""
136 "A sequence of calls to B<strtok>() that operate on the same string "
137 "maintains a pointer that determines the point from which to start searching "
138 "for the next token. The first call to B<strtok>() sets this pointer to "
139 "point to the first byte of the string. The start of the next token is "
140 "determined by scanning forward for the next nondelimiter byte in I<str>. If "
141 "such a byte is found, it is taken as the start of the next token. If no "
142 "such byte is found, then there are no more tokens, and B<strtok>() returns "
143 "NULL. (A string that is empty or that contains only delimiters will thus "
144 "cause B<strtok>() to return NULL on the first call.)"
145 msgstr ""
146 "Sekwencja wywołań B<strtok>() działająca na tym samym łańcuchu znaków "
147 "przechowuje wskaźnik określający punkt, od którego należy szukać kolejnego "
148 "słowa. Pierwsze wywołanie B<strtok>() ustawia ten wskaźnik na pierwszy bajt "
149 "łańcucha. Początek kolejnego słowa jest określany przez szukanie kolejnego "
150 "bajtu niebędącego ogranicznikiem w I<str>. Jeśli taki bajt zostanie "
151 "znaleziony, to jest uważany za początek kolejnego słowa. Jeśli nie ma "
152 "takiego bajtu, to nie ma więcej słów i B<strtok>() zwraca NULL (Łańcuch, "
153 "który jest pusty, lub taki, który zawiera tylko znaki ogranicznika, "
154 "spowoduje, że pierwsze wywołanie B<strtok>() także zwróci NULL)."
155
156 #. type: Plain text
157 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
158 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
159 msgid ""
160 "The end of each token is found by scanning forward until either the next "
161 "delimiter byte is found or until the terminating null byte (\\[aq]\\[rs]0\\"
162 "[aq]) is encountered. If a delimiter byte is found, it is overwritten with "
163 "a null byte to terminate the current token, and B<strtok>() saves a pointer "
164 "to the following byte; that pointer will be used as the starting point when "
165 "searching for the next token. In this case, B<strtok>() returns a pointer "
166 "to the start of the found token."
167 msgstr ""
168 "Koniec każdego słowa jest określany przez wyszukanie albo następnego bajtu "
169 "ogranicznika albo napotkanie kończącego bajtu null (\\[aq]\\[rs]0\\[aq]). "
170 "Jeśli zostanie znaleziony bajt ogranicznika, to jest nadpisywany znakiem "
171 "null, tak aby zakończyć bieżące słowo, a B<strtok>() zachowuje wskaźnik do "
172 "kolejnego bajtu; wskaźnik ten będzie użyty jako punkt startowy wyszukiwania "
173 "kolejnego słowa. W takim przypadku B<strtok>() zwraca wskaźnik do początku "
174 "znalezionego słowa."
175
176 #. type: Plain text
177 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
178 #: opensuse-tumbleweed
179 msgid ""
180 "From the above description, it follows that a sequence of two or more "
181 "contiguous delimiter bytes in the parsed string is considered to be a single "
182 "delimiter, and that delimiter bytes at the start or end of the string are "
183 "ignored. Put another way: the tokens returned by B<strtok>() are always "
184 "nonempty strings. Thus, for example, given the string \\[dq]I<aaa;;bbb,>\\"
185 "[dq], successive calls to B<strtok>() that specify the delimiter string \\"
186 "[dq]I<;,>\\[dq] would return the strings \\[dq]I<aaa>\\[dq] and \\"
187 "[dq]I<bbb>\\[dq], and then a null pointer."
188 msgstr ""
189 "Z powyższego opisu wynika, że sekwencja dwóch lub więcej następujących po "
190 "sobie bajtów ogranicznika w przetwarzanym łańcuchu jest uważana za "
191 "pojedynczy ogranicznik i że ograniczniki na początku i końcu łańcucha są "
192 "zawsze ignorowane. Innymi słowy: słowa zwracane przez B<strtok>() są zawsze "
193 "niepustymi łańcuchami znaków. Dlatego na przykład kolejne wywołanie "
194 "B<strtok>() dla łańcucha \\[Bq]I<aaa;;bbb,>\\[rq] z łańcuchem ograniczników "
195 "\\[Bq]I<;,>\\[rq] zwrócą słowa \\[Bq]I<aaa>\\[rq] oraz \\[Bq]I<bbb>\\[rq], a "
196 "następnie zwrócą wskaźnik null."
197
198 #. type: SH
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 #, no-wrap
202 msgid "RETURN VALUE"
203 msgstr "WARTOŚĆ ZWRACANA"
204
205 #. type: Plain text
206 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
207 msgid ""
208 "B<strtok>() returns a pointer to the next token, or NULL if there are no "
209 "more tokens."
210 msgstr ""
211 "Funkcja B<strtok>() zwraca wskaźnik do następnego słowa lub NULL, jeśli nie "
212 "ma już więcej słów."
213
214 #. type: SH
215 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
216 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
217 #, no-wrap
218 msgid "ATTRIBUTES"
219 msgstr "ATRYBUTY"
220
221 #. type: Plain text
222 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
223 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
224 msgid ""
225 "For an explanation of the terms used in this section, see B<attributes>(7)."
226 msgstr ""
227 "Informacje o pojęciach używanych w tym rozdziale można znaleźć w podręczniku "
228 "B<attributes>(7)."
229
230 #. type: tbl table
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "Interface"
235 msgstr "Interfejs"
236
237 #. type: tbl table
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Attribute"
242 msgstr "Atrybut"
243
244 #. type: tbl table
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 #, no-wrap
248 msgid "Value"
249 msgstr "Wartość"
250
251 #. type: tbl table
252 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
253 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
254 #, no-wrap
255 msgid ".na\n"
256 msgstr ".na\n"
257
258 #. type: tbl table
259 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
260 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
261 #, no-wrap
262 msgid ".nh\n"
263 msgstr ".nh\n"
264
265 #. #-#-#-#-# archlinux: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
266 #. type: tbl table
267 #. #-#-#-#-# debian-trixie: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
268 #. type: TP
269 #. #-#-#-#-# debian-unstable: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
270 #. type: tbl table
271 #. #-#-#-#-# fedora-44: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
272 #. type: TP
273 #. #-#-#-#-# fedora-rawhide: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
274 #. type: TP
275 #. #-#-#-#-# mageia-cauldron: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
276 #. type: TP
277 #. #-#-#-#-# opensuse-leap-16-1: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
278 #. type: tbl table
279 #. #-#-#-#-# opensuse-tumbleweed: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
280 #. type: tbl table
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<strtok>()"
285 msgstr "B<strtok>()"
286
287 #. type: tbl table
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 #, no-wrap
291 msgid "Thread safety"
292 msgstr "Bezpieczeństwo wątkowe"
293
294 #. type: tbl table
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "MT-Unsafe race:strtok"
299 msgstr "MT-niebezpieczne race:strtok"
300
301 #. type: SH
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 #, no-wrap
305 msgid "STANDARDS"
306 msgstr "STANDARDY"
307
308 #. type: Plain text
309 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
310 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
311 msgid "C11, POSIX.1-2008."
312 msgstr "C11, POSIX.1-2008."
313
314 #. type: SH
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "HISTORY"
319 msgstr "HISTORIA"
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 "POSIX.1-2001, C89, SVr4, 4.3BSD."
325 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
326
327 #. type: SH
328 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "CAVEATS"
331 msgstr "ZASTRZEŻENIA"
332
333 #. type: Plain text
334 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
335 msgid "Be cautious when using this function. If you do use it, note that:"
336 msgstr ""
337 "Należy zachować ostrożność przy używaniu tej funkcji. Jeśli jednak się ją "
338 "stosuje, to należy zauważyć, że:"
339
340 #. type: IP
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "\\[bu]"
345 msgstr "\\[bu]"
346
347 #. type: Plain text
348 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
349 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
350 msgid "The identity of the delimiting byte is lost."
351 msgstr "Tożsamość bajtu separatora jest tracona."
352
353 #. type: Plain text
354 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
355 msgid ""
356 "The B<strtok>() function uses a static buffer while parsing, so it's not "
357 "thread safe. Use B<strtok_r>(3) if this matters to you."
358 msgstr ""
359 "Funkcja B<strtok>() korzysta ze statycznego bufora, więc nie jest "
360 "przystosowana do wielowątkowości. Jeśli ma to znaczenie, należy używać "
361 "B<strtok_r>(3)."
362
363 #. type: SH
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 #, no-wrap
367 msgid "EXAMPLES"
368 msgstr "PRZYKŁADY"
369
370 #. type: Plain text
371 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
372 msgid "See B<getaddrinfo_a>(3)."
373 msgstr "Patrz B<getaddrinfo_a>(3)."
374
375 #. type: SH
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 #, no-wrap
379 msgid "SEE ALSO"
380 msgstr "ZOBACZ TAKŻE"
381
382 #. type: Plain text
383 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
384 msgid ""
385 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
386 "B<strspn>(3), B<strstr>(3), B<strtok_r>(3), B<wcstok>(3)"
387 msgstr ""
388 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
389 "B<strspn>(3), B<strstr>(3), B<strtok_r>(3), B<wcstok>(3)"
390
391 #. type: TH
392 #: debian-trixie
393 #, no-wrap
394 msgid "2024-06-16"
395 msgstr "16 czerwca 2024 r."
396
397 #. type: TH
398 #: debian-trixie
399 #, no-wrap
400 msgid "Linux man-pages 6.9.1"
401 msgstr "Linux man-pages 6.9.1"
402
403 #. type: Plain text
404 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
405 msgid "strtok, strtok_r - extract tokens from strings"
406 msgstr "strtok, strtok_r - wydziela słowa z łańcuchów"
407
408 #. type: Plain text
409 #: debian-trixie
410 msgid "Standard C library (I<libc>, I<-lc>)"
411 msgstr "Standardowa biblioteka C (I<libc>, I<-lc>)"
412
413 #. type: Plain text
414 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
415 #, no-wrap
416 msgid ""
417 "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
418 "B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n"
419 "B< char **restrict >I<saveptr>B<);>\n"
420 msgstr ""
421 "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
422 "B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n"
423 "B< char **restrict >I<saveptr>B<);>\n"
424
425 #. type: Plain text
426 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
427 msgid ""
428 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
429 msgstr ""
430 "Wymagane ustawienia makr biblioteki glibc (patrz B<feature_test_macros>(7)):"
431
432 #. type: Plain text
433 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
434 msgid "B<strtok_r>():"
435 msgstr "B<strtok_r>():"
436
437 #. type: Plain text
438 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
439 #, no-wrap
440 msgid ""
441 " _POSIX_C_SOURCE\n"
442 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
443 msgstr ""
444 " _POSIX_C_SOURCE\n"
445 " || /* glibc w wersji E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
446
447 #. type: Plain text
448 #: debian-trixie fedora-44 fedora-rawhide
449 msgid ""
450 "From the above description, it follows that a sequence of two or more "
451 "contiguous delimiter bytes in the parsed string is considered to be a single "
452 "delimiter, and that delimiter bytes at the start or end of the string are "
453 "ignored. Put another way: the tokens returned by B<strtok>() are always "
454 "nonempty strings. Thus, for example, given the string \"I<aaa;;bbb,>\", "
455 "successive calls to B<strtok>() that specify the delimiter string \"I<;,>\" "
456 "would return the strings \"I<aaa>\" and \"I<bbb>\", and then a null pointer."
457 msgstr ""
458 "Z powyższego opisu wynika, że sekwencja dwóch lub więcej następujących po "
459 "sobie bajtów ogranicznika w przetwarzanym łańcuchu jest uważana za "
460 "pojedynczy ogranicznik i że ograniczniki na początku i końcu łańcucha są "
461 "zawsze ignorowane. Innymi słowy: słowa zwracane przez B<strtok>() są zawsze "
462 "niepustymi łańcuchami znaków. Dlatego na przykład kolejne wywołanie "
463 "B<strtok>() dla łańcucha \"I<aaa;;bbb,>\" z łańcuchem ograniczników "
464 "\"I<;,>\" zwrócą słowa \"I<aaa>\" oraz \"I<bbb>\", a następnie zwrócą "
465 "wskaźnik null."
466
467 #. type: Plain text
468 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
469 msgid ""
470 "The B<strtok_r>() function is a reentrant version of B<strtok>(). The "
471 "I<saveptr> argument is a pointer to a I<char\\ *> variable that is used "
472 "internally by B<strtok_r>() in order to maintain context between successive "
473 "calls that parse the same string."
474 msgstr ""
475 "Funkcja B<strtok_r>() jest wielowątkową wersją B<strtok>(). Argument "
476 "I<saveptr> jest wskaźnikiem do zmiennej typu I<char\\ *>, używanej "
477 "wewnętrznie przez B<strtok_r>() do zachowania kontekstu pomiędzy kolejnymi "
478 "wywołaniami przetwarzającymi ten sam łańcuch znaków."
479
480 #. type: Plain text
481 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
482 msgid ""
483 "On the first call to B<strtok_r>(), I<str> should point to the string to be "
484 "parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In "
485 "subsequent calls, I<str> should be NULL, and I<saveptr> (and the buffer that "
486 "it points to) should be unchanged since the previous call."
487 msgstr ""
488 "Podczas pierwszego wywołania B<strtok_r>() argument I<str> powinien "
489 "wskazywać na łańcuch do przetworzenia, a wartość I<*saveptr> jest ignorowana "
490 "(lecz zob. WERSJE). W kolejnych wywołaniach I<str> powinien być równy NULL, "
491 "a I<saveptr> (i bufor, na który wskazuje) nie powinien być zmieniony od "
492 "poprzedniego wywołania."
493
494 #. type: Plain text
495 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
496 msgid ""
497 "Different strings may be parsed concurrently using sequences of calls to "
498 "B<strtok_r>() that specify different I<saveptr> arguments."
499 msgstr ""
500 "Różne łańcuchy znaków mogą być przetwarzane równocześnie przy użyciu "
501 "sekwencji wywołań B<strtok_r>(), różniących się argumentami I<saveptr>."
502
503 #. type: Plain text
504 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
505 msgid ""
506 "The B<strtok>() and B<strtok_r>() functions return a pointer to the next "
507 "token, or NULL if there are no more tokens."
508 msgstr ""
509 "Funkcje B<strtok>() i B<strtok_r>() zwracają wskaźnik do następnego słowa "
510 "lub NULL, jeśli nie ma już więcej słów."
511
512 #. type: TP
513 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
514 #, no-wrap
515 msgid "B<strtok_r>()"
516 msgstr "B<strtok_r>()"
517
518 #. type: tbl table
519 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
520 #, no-wrap
521 msgid "MT-Safe"
522 msgstr "MT-bezpieczne"
523
524 #. type: SH
525 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
526 #, no-wrap
527 msgid "VERSIONS"
528 msgstr "WERSJE"
529
530 #. Tru64, according to its manual page
531 #. type: Plain text
532 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
533 msgid ""
534 "On some implementations, I<*saveptr> is required to be NULL on the first "
535 "call to B<strtok_r>() that is being used to parse I<str>."
536 msgstr ""
537 "W niektórych implementacjach, I<*saveptr> musi wynosić NULL przy pierwszym "
538 "wywołaniu do B<strtok_r>(), używanym do analizy I<str>."
539
540 #. type: Plain text
541 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
542 msgid "POSIX.1-2008."
543 msgstr "POSIX.1-2008."
544
545 #. type: Plain text
546 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
547 msgid "POSIX.1-2001."
548 msgstr "POSIX.1-2001."
549
550 #. type: SH
551 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
552 #, no-wrap
553 msgid "BUGS"
554 msgstr "USTERKI"
555
556 #. type: Plain text
557 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
558 msgid "Be cautious when using these functions. If you do use them, note that:"
559 msgstr ""
560 "Należy zachować ostrożność przy używaniu tych funkcji. Jeśli jednak zostaną "
561 "użyte, to należy zauważyć, że:"
562
563 #. type: Plain text
564 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
565 msgid "These functions modify their first argument."
566 msgstr "Funkcje te modyfikują swój pierwszy argument."
567
568 #. type: Plain text
569 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
570 msgid "These functions cannot be used on constant strings."
571 msgstr "Funkcje te nie mogą być stosowane z ciągami stałymi."
572
573 #. type: Plain text
574 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
575 msgid ""
576 "The B<strtok>() function uses a static buffer while parsing, so it's not "
577 "thread safe. Use B<strtok_r>() if this matters to you."
578 msgstr ""
579 "Funkcja B<strtok>() korzysta ze statycznego bufora, więc nie jest "
580 "przystosowana do wielowątkowości. Jeśli ma to znaczenie, należy używać "
581 "B<strtok_r>()."
582
583 #. type: Plain text
584 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
585 msgid ""
586 "The program below uses nested loops that employ B<strtok_r>() to break a "
587 "string into a two-level hierarchy of tokens. The first command-line "
588 "argument specifies the string to be parsed. The second argument specifies "
589 "the delimiter byte(s) to be used to separate that string into \"major\" "
590 "tokens. The third argument specifies the delimiter byte(s) to be used to "
591 "separate the \"major\" tokens into subtokens."
592 msgstr ""
593 "Poniższy program używa zagnieżdżonych pętli, stosując B<strtok_r>() do "
594 "podzielenia łańcucha na dwupoziomową hierarchię słów. Pierwszy argument "
595 "linii poleceń określa łańcuch do przetworzenia. Drugi argument podaje bajty "
596 "ograniczające używane do dzielenia łańcucha na \\[Bq]główne\\[rq] słowa. "
597 "Trzeci argument określa bajty służące do dzielenia \\[Bq]głównych\\[rq] słów "
598 "na podsłowa."
599
600 #. type: Plain text
601 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
602 msgid "An example of the output produced by this program is the following:"
603 msgstr "Przykładowe wyjście programu jest następujące:"
604
605 #. type: Plain text
606 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
607 #, no-wrap
608 msgid ""
609 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
610 "1: a/bbb///cc\n"
611 " --E<gt> a\n"
612 " --E<gt> bbb\n"
613 " --E<gt> cc\n"
614 "2: xxx\n"
615 " --E<gt> xxx\n"
616 "3: yyy\n"
617 " --E<gt> yyy\n"
618 msgstr ""
619 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
620 "1: a/bbb///cc\n"
621 " --E<gt> a\n"
622 " --E<gt> bbb\n"
623 " --E<gt> cc\n"
624 "2: xxx\n"
625 " --E<gt> xxx\n"
626 "3: yyy\n"
627 " --E<gt> yyy\n"
628
629 #. type: SS
630 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
631 #, no-wrap
632 msgid "Program source"
633 msgstr "Kod źródłowy programu"
634
635 #. type: Plain text
636 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
637 #, no-wrap
638 msgid ""
639 "#include E<lt>stdio.hE<gt>\n"
640 "#include E<lt>stdlib.hE<gt>\n"
641 "#include E<lt>string.hE<gt>\n"
642 "\\&\n"
643 "int\n"
644 "main(int argc, char *argv[])\n"
645 "{\n"
646 " char *str1, *str2, *token, *subtoken;\n"
647 " char *saveptr1, *saveptr2;\n"
648 " int j;\n"
649 "\\&\n"
650 " if (argc != 4) {\n"
651 " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n"
652 " argv[0]);\n"
653 " exit(EXIT_FAILURE);\n"
654 " }\n"
655 "\\&\n"
656 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
657 " token = strtok_r(str1, argv[2], &saveptr1);\n"
658 " if (token == NULL)\n"
659 " break;\n"
660 " printf(\"%d: %s\\[rs]n\", j, token);\n"
661 "\\&\n"
662 " for (str2 = token; ; str2 = NULL) {\n"
663 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
664 " if (subtoken == NULL)\n"
665 " break;\n"
666 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n"
667 " }\n"
668 " }\n"
669 "\\&\n"
670 " exit(EXIT_SUCCESS);\n"
671 "}\n"
672 msgstr ""
673 "#include E<lt>stdio.hE<gt>\n"
674 "#include E<lt>stdlib.hE<gt>\n"
675 "#include E<lt>string.hE<gt>\n"
676 "\\&\n"
677 "int\n"
678 "main(int argc, char *argv[])\n"
679 "{\n"
680 " char *str1, *str2, *token, *subtoken;\n"
681 " char *saveptr1, *saveptr2;\n"
682 " int j;\n"
683 "\\&\n"
684 " if (argc != 4) {\n"
685 " fprintf(stderr, \"Użycie: %s łańcuch separ podsepar\\[rs]n\",\n"
686 " argv[0]);\n"
687 " exit(EXIT_FAILURE);\n"
688 " }\n"
689 "\\&\n"
690 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
691 " token = strtok_r(str1, argv[2], &saveptr1);\n"
692 " if (token == NULL)\n"
693 " break;\n"
694 " printf(\"%d: %s\\[rs]n\", j, token);\n"
695 "\\&\n"
696 " for (str2 = token; ; str2 = NULL) {\n"
697 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
698 " if (subtoken == NULL)\n"
699 " break;\n"
700 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n"
701 " }\n"
702 " }\n"
703 "\\&\n"
704 " exit(EXIT_SUCCESS);\n"
705 "}\n"
706
707 #. type: Plain text
708 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
709 msgid ""
710 "Another example program using B<strtok>() can be found in "
711 "B<getaddrinfo_a>(3)."
712 msgstr ""
713 "Inny przykładowy program używający B<strtok>() można znaleźć w "
714 "B<getaddrinfo_a>(3)."
715
716 #. type: Plain text
717 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
718 msgid ""
719 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
720 "B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
721 msgstr ""
722 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
723 "B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
724
725 #. type: TH
726 #: fedora-44 fedora-rawhide
727 #, no-wrap
728 msgid "2024-07-23"
729 msgstr "23 lipca 2024 r."
730
731 #. type: TH
732 #: fedora-44 fedora-rawhide
733 #, no-wrap
734 msgid "Linux man-pages 6.13"
735 msgstr "Linux man-pages 6.13"
736
737 #. type: TH
738 #: mageia-cauldron
739 #, no-wrap
740 msgid "2026-02-08"
741 msgstr "8 lutego 2026 r."
742
743 #. type: TH
744 #: mageia-cauldron
745 #, no-wrap
746 msgid "Linux man-pages 6.17"
747 msgstr "Linux man-pages 6.17"
748
749 #. type: TH
750 #: opensuse-leap-16-1 opensuse-tumbleweed
751 #, no-wrap
752 msgid "Linux man-pages (unreleased)"
753 msgstr "Linux man-pages (niewydane)"