Debian Codegraph @

po/ro/man3/strtok.3.po

raw
1 # Romanian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Remus-Gabriel Chelu <[email protected]>, 2025, 2026.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n 4.26.2\n"
8 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
9 "PO-Revision-Date: 2026-05-07 14:44+0200\n"
10 "Last-Translator: Remus-Gabriel Chelu <[email protected]>\n"
11 "Language-Team: Romanian <[email protected]>\n"
12 "Language: ro\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=3; plural=n==1 ? 0 : (n==0 || (n%100 > 0 && n%100 < "
17 "20)) ? 1 : 2;\n"
18 "X-Generator: Poedit 3.8\n"
19
20 #. type: TH
21 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
22 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
23 #, no-wrap
24 msgid "strtok"
25 msgstr "strtok"
26
27 #. type: TH
28 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-25"
31 msgstr "25 februarie 2026"
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr "Pagini de manual de Linux 6.18"
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr "NUME"
45
46 #. type: Plain text
47 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "strtok - extract tokens from strings"
49 msgstr "strtok - extrage simboluri din șiruri"
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "LIBRARY"
56 msgstr "BIBLIOTECA"
57
58 #. type: Plain text
59 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
60 #: opensuse-leap-16-1 opensuse-tumbleweed
61 msgid "Standard C library (I<libc>,\\ I<-lc>)"
62 msgstr "Biblioteca C standard (I<libc>, I<-lc>)"
63
64 #. type: SH
65 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
66 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
67 #, no-wrap
68 msgid "SYNOPSIS"
69 msgstr "SINOPSIS"
70
71 #. type: Plain text
72 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
73 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
74 #, no-wrap
75 msgid "B<#include E<lt>string.hE<gt>>\n"
76 msgstr "B<#include E<lt>string.hE<gt>>\n"
77
78 #. type: Plain text
79 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
80 #, no-wrap
81 msgid "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
82 msgstr "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
83
84 #. type: SH
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "DESCRIPTION"
89 msgstr "DESCRIERE"
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid ""
95 "The B<strtok>() function breaks a string into a sequence of zero or more "
96 "nonempty tokens. On the first call to B<strtok>(), the string to be parsed "
97 "should be specified in I<str>. In each subsequent call that should parse "
98 "the same string, I<str> must be NULL."
99 msgstr ""
100 "Funcția B<strtok>() descompune un șir de caractere într-o secvență de zero "
101 "sau mai multe simboluri nevide. La primul apel la B<strtok>(), șirul de "
102 "caractere care trebuie analizat trebuie specificat în I<str>. În fiecare "
103 "apel ulterior care ar trebui să analizeze același șir de caractere, I<str> "
104 "trebuie să fie NULL."
105
106 #. type: Plain text
107 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
108 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
109 msgid ""
110 "The I<delim> argument specifies a set of bytes that delimit the tokens in "
111 "the parsed string. The caller may specify different strings in I<delim> in "
112 "successive calls that parse the same string."
113 msgstr ""
114 "Argumentul I<delim> specifică un set de octeți care delimitează simbolurile "
115 "din șirul analizat. Apelantul poate specifica șiruri diferite în I<delim> în "
116 "apeluri succesive care analizează același șir."
117
118 #. type: Plain text
119 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
120 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
121 msgid ""
122 "Each call to B<strtok>() returns a pointer to a null-terminated string "
123 "containing the next token. This string does not include the delimiting "
124 "byte. If no more tokens are found, B<strtok>() returns NULL."
125 msgstr ""
126 "Fiecare apel la B<strtok>() returnează un indicator către un șir cu "
127 "terminație nulă care conține următorul simbol. Acest șir nu include octetul "
128 "de delimitare. Dacă nu se mai găsesc alte simboluri, B<strtok>() returnează "
129 "NULL."
130
131 #. type: Plain text
132 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
133 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
134 msgid ""
135 "A sequence of calls to B<strtok>() that operate on the same string "
136 "maintains a pointer that determines the point from which to start searching "
137 "for the next token. The first call to B<strtok>() sets this pointer to "
138 "point to the first byte of the string. The start of the next token is "
139 "determined by scanning forward for the next nondelimiter byte in I<str>. If "
140 "such a byte is found, it is taken as the start of the next token. If no "
141 "such byte is found, then there are no more tokens, and B<strtok>() returns "
142 "NULL. (A string that is empty or that contains only delimiters will thus "
143 "cause B<strtok>() to return NULL on the first call.)"
144 msgstr ""
145 "O secvență de apeluri la B<strtok>() care operează asupra aceluiași șir de "
146 "caractere menține un indicator care determină punctul de la care începe "
147 "căutarea următorului simbol. Primul apel la B<strtok>() stabilește acest "
148 "indicator la primul octet al șirului de caractere. Începutul următorului "
149 "simbol este determinat prin scanarea înainte pentru următorul octet "
150 "nedelimitator din I<str>. Dacă se găsește un astfel de octet, acesta este "
151 "considerat ca fiind începutul următorului simbol. Dacă nu se găsește un "
152 "astfel de octet, atunci nu mai există alte simboluri, iar B<strtok>() "
153 "returnează NULL. (Un șir de caractere care este gol sau care conține numai "
154 "delimitatori va face astfel ca B<strtok>() să returneze NULL la primul apel)."
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 "Sfârșitul fiecărui simbol este găsit prin scanarea înainte până când este "
169 "găsit fie următorul octet de delimitare, fie octetul nul de terminare (\\[aq]"
170 "\\[rs]0\\[aq]). În cazul în care se găsește un octet de delimitare, acesta "
171 "este suprascris cu un octet nul pentru a încheia simbolul curent, iar "
172 "B<strtok>() salvează un indicator la următorul octet; acest indicator va fi "
173 "utilizat ca punct de plecare la căutarea următorului simbol. În acest caz, "
174 "B<strtok>() returnează un indicator la începutul simbolului găsit."
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 "Din descrierea de mai sus, rezultă că o secvență de doi sau mai mulți octeți "
190 "delimitatori contigui în șirul analizat este considerată a fi un singur "
191 "delimitator și că octeții delimitatori de la începutul sau sfârșitul șirului "
192 "sunt ignorați. Altfel spus: simbolurile returnate de B<strtok>() sunt "
193 "întotdeauna șiruri de caractere nevide. Astfel, de exemplu, având în vedere "
194 "șirul „I<aaa;;bbb,>”, apelurile succesive la B<strtok>() care specifică "
195 "șirul delimitator „I<;,>” ar returna șirurile „I<aaa>” și „I<bbb>”, iar apoi "
196 "un indicator nul."
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 "VALOAREA RETURNATĂ"
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 "Funcția B<strtok>() returnează un indicator către următorul simbol, sau NULL "
212 "dacă nu mai există simboluri."
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 "ATRIBUTE"
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 "Pentru o explicație a termenilor folosiți în această secțiune, a se vedea "
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 "Interfață"
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 "Atribut"
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 "Valoare"
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 "Siguranța firelor"
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-Unsafe 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 "STANDARDE"
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 "ISTORIC"
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 "AVERTISMENTE"
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 "Fiți prudent atunci când utilizați această funcție. Dacă o utilizați, "
338 "rețineți că:"
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 "Identitatea octetului de delimitare este pierdută."
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 "Funcția B<strtok>() utilizează o memorie tampon statică în timpul analizei, "
360 "deci nu este sigură pentru fire. Utilizați B<strtok_r>(3) dacă acest lucru "
361 "este important pentru dumneavoastră."
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 "EXEMPLE"
369
370 #. type: Plain text
371 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
372 msgid "See B<getaddrinfo_a>(3)."
373 msgstr "A se vedea 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 "CONSULTAȚI ȘI"
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 iunie 2024"
396
397 #. type: TH
398 #: debian-trixie
399 #, no-wrap
400 msgid "Linux man-pages 6.9.1"
401 msgstr "Pagini de manual de Linux 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 - extrage simboluri din șiruri"
407
408 #. type: Plain text
409 #: debian-trixie
410 msgid "Standard C library (I<libc>, I<-lc>)"
411 msgstr "Biblioteca C standard (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 "Cerințe pentru macrocomenzi de testare a caracteristicilor pentru glibc "
431 "(consultați B<feature_test_macros>(7)):"
432
433 #. type: Plain text
434 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
435 msgid "B<strtok_r>():"
436 msgstr "B<strtok_r>():"
437
438 #. type: Plain text
439 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
440 #, no-wrap
441 msgid ""
442 " _POSIX_C_SOURCE\n"
443 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
444 msgstr ""
445 " _POSIX_C_SOURCE\n"
446 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
447
448 #. type: Plain text
449 #: debian-trixie fedora-44 fedora-rawhide
450 msgid ""
451 "From the above description, it follows that a sequence of two or more "
452 "contiguous delimiter bytes in the parsed string is considered to be a single "
453 "delimiter, and that delimiter bytes at the start or end of the string are "
454 "ignored. Put another way: the tokens returned by B<strtok>() are always "
455 "nonempty strings. Thus, for example, given the string \"I<aaa;;bbb,>\", "
456 "successive calls to B<strtok>() that specify the delimiter string \"I<;,>\" "
457 "would return the strings \"I<aaa>\" and \"I<bbb>\", and then a null pointer."
458 msgstr ""
459 "Din descrierea de mai sus, rezultă că o secvență de doi sau mai mulți octeți "
460 "delimitatori contigui în șirul analizat este considerată a fi un singur "
461 "delimitator și că octeții delimitatori de la începutul sau sfârșitul șirului "
462 "sunt ignorați. Altfel spus: simbolurile returnate de B<strtok>() sunt "
463 "întotdeauna șiruri de caractere nevide. Astfel, de exemplu, având în vedere "
464 "șirul „I<aaa;;bbb,>”, apelurile succesive la B<strtok>() care specifică "
465 "șirul delimitator „I<;,>” ar returna șirurile „I<aaa>” și „I<bbb>”, iar apoi "
466 "un indicator nul."
467
468 #. type: Plain text
469 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
470 msgid ""
471 "The B<strtok_r>() function is a reentrant version of B<strtok>(). The "
472 "I<saveptr> argument is a pointer to a I<char\\ *> variable that is used "
473 "internally by B<strtok_r>() in order to maintain context between successive "
474 "calls that parse the same string."
475 msgstr ""
476 "Funcția B<strtok_r>() este o versiune reentrantă a B<strtok>(). Argumentul "
477 "I<saveptr> este un indicator către o variabilă I<char\\ *> care este "
478 "utilizată intern de B<strtok_r>() pentru a menține contextul între apelurile "
479 "succesive care analizează același șir de caractere."
480
481 #. type: Plain text
482 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
483 msgid ""
484 "On the first call to B<strtok_r>(), I<str> should point to the string to be "
485 "parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In "
486 "subsequent calls, I<str> should be NULL, and I<saveptr> (and the buffer that "
487 "it points to) should be unchanged since the previous call."
488 msgstr ""
489 "La primul apel la B<strtok_r>(), I<str> trebuie să indice șirul de caractere "
490 "care urmează să fie analizat, iar valoarea lui I<*saveptr> este ignorată "
491 "(dar a se vedea secțiunea VERSIUNI). În apelurile ulterioare, I<str> ar "
492 "trebui să fie NULL, iar I<saveptr> (și memoria tampon către care acesta "
493 "indică) ar trebui să fie neschimbată de la apelul anterior."
494
495 #. type: Plain text
496 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
497 msgid ""
498 "Different strings may be parsed concurrently using sequences of calls to "
499 "B<strtok_r>() that specify different I<saveptr> arguments."
500 msgstr ""
501 "Diferite șiruri de caractere pot fi analizate concomitent folosind secvențe "
502 "de apeluri la B<strtok_r>() care specifică diferite argumente I<saveptr>."
503
504 #. type: Plain text
505 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
506 msgid ""
507 "The B<strtok>() and B<strtok_r>() functions return a pointer to the next "
508 "token, or NULL if there are no more tokens."
509 msgstr ""
510 "Funcțiile B<strtok>() și B<strtok_r>() returnează un indicator către "
511 "următorul simbol, sau NULL dacă nu mai există simboluri."
512
513 #. type: TP
514 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
515 #, no-wrap
516 msgid "B<strtok_r>()"
517 msgstr "B<strtok_r>()"
518
519 #. type: tbl table
520 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
521 #, no-wrap
522 msgid "MT-Safe"
523 msgstr "MT-Safe"
524
525 #. type: SH
526 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
527 #, no-wrap
528 msgid "VERSIONS"
529 msgstr "VERSIUNI"
530
531 #. Tru64, according to its manual page
532 #. type: Plain text
533 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
534 msgid ""
535 "On some implementations, I<*saveptr> is required to be NULL on the first "
536 "call to B<strtok_r>() that is being used to parse I<str>."
537 msgstr ""
538 "În unele implementări, I<*saveptr> trebuie să fie NULL la primul apel la "
539 "B<strtok_r>() care este utilizat pentru a analiza I<str>."
540
541 #. type: Plain text
542 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
543 msgid "POSIX.1-2008."
544 msgstr "POSIX.1-2008."
545
546 #. type: Plain text
547 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
548 msgid "POSIX.1-2001."
549 msgstr "POSIX.1-2001."
550
551 #. type: SH
552 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
553 #, no-wrap
554 msgid "BUGS"
555 msgstr "ERORI"
556
557 #. type: Plain text
558 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
559 msgid "Be cautious when using these functions. If you do use them, note that:"
560 msgstr ""
561 "Fiți precaut atunci când utilizați aceste funcții. Dacă le utilizați, "
562 "rețineți că:"
563
564 #. type: Plain text
565 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
566 msgid "These functions modify their first argument."
567 msgstr "Aceste funcții modifică primul lor argument."
568
569 #. type: Plain text
570 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
571 msgid "These functions cannot be used on constant strings."
572 msgstr "Aceste funcții nu pot fi utilizate pe șiruri constante."
573
574 #. type: Plain text
575 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
576 msgid ""
577 "The B<strtok>() function uses a static buffer while parsing, so it's not "
578 "thread safe. Use B<strtok_r>() if this matters to you."
579 msgstr ""
580 "Funcția B<strtok>() utilizează o memorie tampon statică în timpul analizei, "
581 "deci nu este sigură pentru fire. Utilizați B<strtok_r>() dacă acest lucru "
582 "este important pentru dumneavoastră."
583
584 #. type: Plain text
585 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
586 msgid ""
587 "The program below uses nested loops that employ B<strtok_r>() to break a "
588 "string into a two-level hierarchy of tokens. The first command-line "
589 "argument specifies the string to be parsed. The second argument specifies "
590 "the delimiter byte(s) to be used to separate that string into \"major\" "
591 "tokens. The third argument specifies the delimiter byte(s) to be used to "
592 "separate the \"major\" tokens into subtokens."
593 msgstr ""
594 "Programul de mai jos folosește bucle imbricate care utilizează B<strtok_r>() "
595 "pentru a împărți un șir de caractere într-o ierarhie de simboluri pe două "
596 "niveluri. Primul argument din linia de comandă specifică șirul de caractere "
597 "care urmează să fie analizat. Al doilea argument specifică octetul (octeții) "
598 "delimitator(i) care urmează să fie utilizați pentru a separa șirul în "
599 "simboluri „majore”. Al treilea argument specifică octetul (octeții) "
600 "delimitator(i) care trebuie utilizați pentru a separa simbolurile „majore” "
601 "în sub-simboluri."
602
603 #. type: Plain text
604 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
605 msgid "An example of the output produced by this program is the following:"
606 msgstr "Un exemplu de ieșire produsă de acest program este următorul:"
607
608 #. type: Plain text
609 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
610 #, no-wrap
611 msgid ""
612 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
613 "1: a/bbb///cc\n"
614 " --E<gt> a\n"
615 " --E<gt> bbb\n"
616 " --E<gt> cc\n"
617 "2: xxx\n"
618 " --E<gt> xxx\n"
619 "3: yyy\n"
620 " --E<gt> yyy\n"
621 msgstr ""
622 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
623 "1: a/bbb///cc\n"
624 " --E<gt> a\n"
625 " --E<gt> bbb\n"
626 " --E<gt> cc\n"
627 "2: xxx\n"
628 " --E<gt> xxx\n"
629 "3: yyy\n"
630 " --E<gt> yyy\n"
631
632 #. type: SS
633 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
634 #, no-wrap
635 msgid "Program source"
636 msgstr "Sursa programului"
637
638 #. type: Plain text
639 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
640 #, no-wrap
641 msgid ""
642 "#include E<lt>stdio.hE<gt>\n"
643 "#include E<lt>stdlib.hE<gt>\n"
644 "#include E<lt>string.hE<gt>\n"
645 "\\&\n"
646 "int\n"
647 "main(int argc, char *argv[])\n"
648 "{\n"
649 " char *str1, *str2, *token, *subtoken;\n"
650 " char *saveptr1, *saveptr2;\n"
651 " int j;\n"
652 "\\&\n"
653 " if (argc != 4) {\n"
654 " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n"
655 " argv[0]);\n"
656 " exit(EXIT_FAILURE);\n"
657 " }\n"
658 "\\&\n"
659 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
660 " token = strtok_r(str1, argv[2], &saveptr1);\n"
661 " if (token == NULL)\n"
662 " break;\n"
663 " printf(\"%d: %s\\[rs]n\", j, token);\n"
664 "\\&\n"
665 " for (str2 = token; ; str2 = NULL) {\n"
666 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
667 " if (subtoken == NULL)\n"
668 " break;\n"
669 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n"
670 " }\n"
671 " }\n"
672 "\\&\n"
673 " exit(EXIT_SUCCESS);\n"
674 "}\n"
675 msgstr ""
676 "#include E<lt>stdio.hE<gt>\n"
677 "#include E<lt>stdlib.hE<gt>\n"
678 "#include E<lt>string.hE<gt>\n"
679 "\\&\n"
680 "int\n"
681 "main(int argc, char *argv[])\n"
682 "{\n"
683 " char *str1, *str2, *token, *subtoken;\n"
684 " char *saveptr1, *saveptr2;\n"
685 " int j;\n"
686 "\\&\n"
687 " if (argc != 4) {\n"
688 " fprintf(stderr, \"Utilizare: %s șir delimitator sub-delimitator\\[rs]n\",\n"
689 " argv[0]);\n"
690 " exit(EXIT_FAILURE);\n"
691 " }\n"
692 "\\&\n"
693 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
694 " token = strtok_r(str1, argv[2], &saveptr1);\n"
695 " if (token == NULL)\n"
696 " break;\n"
697 " printf(\"%d: %s\\[rs]n\", j, simbol);\n"
698 "\\&\n"
699 " for (str2 = token; ; str2 = NULL) {\n"
700 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
701 " if (subtoken == NULL)\n"
702 " break;\n"
703 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", sub-simbo);\n"
704 " }\n"
705 " }\n"
706 "\\&\n"
707 " exit(EXIT_SUCCESS);\n"
708 "}\n"
709
710 #. type: Plain text
711 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
712 msgid ""
713 "Another example program using B<strtok>() can be found in "
714 "B<getaddrinfo_a>(3)."
715 msgstr ""
716 "Un alt exemplu de program care utilizează B<strtok>() poate fi găsit în "
717 "B<getaddrinfo_a>(3)."
718
719 #. type: Plain text
720 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
721 msgid ""
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 msgstr ""
725 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
726 "B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
727
728 #. type: TH
729 #: fedora-44 fedora-rawhide
730 #, no-wrap
731 msgid "2024-07-23"
732 msgstr "23 iulie 2024"
733
734 #. type: TH
735 #: fedora-44 fedora-rawhide
736 #, no-wrap
737 msgid "Linux man-pages 6.13"
738 msgstr "Pagini de manual de Linux 6.13"
739
740 #. type: TH
741 #: mageia-cauldron
742 #, no-wrap
743 msgid "2026-02-08"
744 msgstr "8 februarie 2026"
745
746 #. type: TH
747 #: mageia-cauldron
748 #, no-wrap
749 msgid "Linux man-pages 6.17"
750 msgstr "Pagini de manual de Linux 6.17"
751
752 #. type: TH
753 #: opensuse-leap-16-1 opensuse-tumbleweed
754 #, no-wrap
755 msgid "Linux man-pages (unreleased)"
756 msgstr "Pagini de manual Linux (nepublicate)"