Debian Codegraph @

po/es/man3/strtok.3.po

raw
1 # Spanish translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Vicente Pastor Gómez <[email protected]>, 1998.
5 # Juan Piernas <[email protected]>, 1998.
6 # Miguel Pérez Ibars <[email protected]>, 2005.
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: manpages-l10n\n"
10 "POT-Creation-Date: 2026-06-05 06:45+0200\n"
11 "PO-Revision-Date: 2021-02-02 20:47+0100\n"
12 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
13 "Language-Team: Spanish <[email protected]>\n"
14 "Language: es\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=2; plural=(n != 1);\n"
19 "X-Generator: Lokalize 20.04.1\n"
20
21 #. type: TH
22 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
23 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
24 #, fuzzy, no-wrap
25 #| msgid "B<strtok>()"
26 msgid "strtok"
27 msgstr "B<strtok>()"
28
29 #. type: TH
30 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
31 #, no-wrap
32 msgid "2026-02-25"
33 msgstr "25 Febrero 2026"
34
35 #. type: TH
36 #: archlinux debian-unstable
37 #, fuzzy, no-wrap
38 #| msgid "Linux man-pages 6.17"
39 msgid "Linux man-pages 6.18"
40 msgstr "Páginas de Manual de Linux 6.17"
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 "NOMBRE"
48
49 #. type: Plain text
50 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
51 #, fuzzy
52 #| msgid "strtok, strtok_r - extract tokens from strings"
53 msgid "strtok - extract tokens from strings"
54 msgstr "strtok, strtok_r - extraen un token de una cadena"
55
56 #. type: SH
57 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
58 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
59 #, no-wrap
60 msgid "LIBRARY"
61 msgstr "BIBLIOTECA"
62
63 #. type: Plain text
64 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
65 #: opensuse-leap-16-1 opensuse-tumbleweed
66 msgid "Standard C library (I<libc>,\\ I<-lc>)"
67 msgstr "Biblioteca Estándar C (I<libc>,\\ I<-lc>)"
68
69 #. type: SH
70 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
71 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
72 #, no-wrap
73 msgid "SYNOPSIS"
74 msgstr "SINOPSIS"
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 #, no-wrap
80 msgid "B<#include E<lt>string.hE<gt>>\n"
81 msgstr "B<#include E<lt>string.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
85 #, no-wrap
86 msgid "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
87 msgstr ""
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr "DESCRIPCIÓN"
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "The B<strtok>() function breaks a string into a sequence of zero or more "
101 "nonempty tokens. On the first call to B<strtok>(), the string to be parsed "
102 "should be specified in I<str>. In each subsequent call that should parse "
103 "the same string, I<str> must be NULL."
104 msgstr ""
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
115 #. type: Plain text
116 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
117 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
118 msgid ""
119 "Each call to B<strtok>() returns a pointer to a null-terminated string "
120 "containing the next token. This string does not include the delimiting "
121 "byte. If no more tokens are found, B<strtok>() returns NULL."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid ""
128 "A sequence of calls to B<strtok>() that operate on the same string "
129 "maintains a pointer that determines the point from which to start searching "
130 "for the next token. The first call to B<strtok>() sets this pointer to "
131 "point to the first byte of the string. The start of the next token is "
132 "determined by scanning forward for the next nondelimiter byte in I<str>. If "
133 "such a byte is found, it is taken as the start of the next token. If no "
134 "such byte is found, then there are no more tokens, and B<strtok>() returns "
135 "NULL. (A string that is empty or that contains only delimiters will thus "
136 "cause B<strtok>() to return NULL on the first call.)"
137 msgstr ""
138
139 #. type: Plain text
140 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
141 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
142 msgid ""
143 "The end of each token is found by scanning forward until either the next "
144 "delimiter byte is found or until the terminating null byte (\\[aq]\\[rs]0\\"
145 "[aq]) is encountered. If a delimiter byte is found, it is overwritten with "
146 "a null byte to terminate the current token, and B<strtok>() saves a pointer "
147 "to the following byte; that pointer will be used as the starting point when "
148 "searching for the next token. In this case, B<strtok>() returns a pointer "
149 "to the start of the found token."
150 msgstr ""
151
152 #. type: Plain text
153 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
154 #: opensuse-tumbleweed
155 msgid ""
156 "From the above description, it follows that a sequence of two or more "
157 "contiguous delimiter bytes in the parsed string is considered to be a single "
158 "delimiter, and that delimiter bytes at the start or end of the string are "
159 "ignored. Put another way: the tokens returned by B<strtok>() are always "
160 "nonempty strings. Thus, for example, given the string \\[dq]I<aaa;;bbb,>\\"
161 "[dq], successive calls to B<strtok>() that specify the delimiter string \\"
162 "[dq]I<;,>\\[dq] would return the strings \\[dq]I<aaa>\\[dq] and \\"
163 "[dq]I<bbb>\\[dq], and then a null pointer."
164 msgstr ""
165
166 #. type: SH
167 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
168 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
169 #, no-wrap
170 msgid "RETURN VALUE"
171 msgstr "VALOR DEVUELTO"
172
173 #. type: Plain text
174 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
175 #, fuzzy
176 #| msgid ""
177 #| "The B<strtok()> function returns a pointer to the next token, or NULL if "
178 #| "there are no more tokens."
179 msgid ""
180 "B<strtok>() returns a pointer to the next token, or NULL if there are no "
181 "more tokens."
182 msgstr ""
183 "La función B<strtok()> devuelve un puntero al siguiente token, o NULL si no "
184 "hay más tokens."
185
186 #. type: SH
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 #, no-wrap
190 msgid "ATTRIBUTES"
191 msgstr "ATRIBUTOS"
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "For an explanation of the terms used in this section, see B<attributes>(7)."
198 msgstr ""
199 "Para obtener una explicación de los términos usados en esta sección, véase "
200 "B<attributes>(7)."
201
202 #. type: tbl table
203 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
204 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
205 #, no-wrap
206 msgid "Interface"
207 msgstr "Interfaz"
208
209 #. type: tbl table
210 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
211 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
212 #, no-wrap
213 msgid "Attribute"
214 msgstr "Atributo"
215
216 #. type: tbl table
217 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
218 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
219 #, no-wrap
220 msgid "Value"
221 msgstr "Valor"
222
223 #. type: tbl table
224 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
225 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
226 #, no-wrap
227 msgid ".na\n"
228 msgstr ".na\n"
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 ".nh\n"
235 msgstr ".nh\n"
236
237 #. #-#-#-#-# archlinux: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
238 #. type: tbl table
239 #. #-#-#-#-# debian-trixie: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
240 #. type: TP
241 #. #-#-#-#-# debian-unstable: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
242 #. type: tbl table
243 #. #-#-#-#-# fedora-44: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
244 #. type: TP
245 #. #-#-#-#-# fedora-rawhide: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
246 #. type: TP
247 #. #-#-#-#-# mageia-cauldron: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
248 #. type: TP
249 #. #-#-#-#-# opensuse-leap-16-1: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
250 #. type: tbl table
251 #. #-#-#-#-# opensuse-tumbleweed: strtok.3.pot (PACKAGE VERSION) #-#-#-#-#
252 #. type: tbl table
253 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
254 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
255 #, no-wrap
256 msgid "B<strtok>()"
257 msgstr "B<strtok>()"
258
259 #. type: tbl table
260 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
261 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
262 #, no-wrap
263 msgid "Thread safety"
264 msgstr "Seguridad del hilo"
265
266 #. type: tbl table
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 #, no-wrap
270 msgid "MT-Unsafe race:strtok"
271 msgstr ""
272
273 #. type: SH
274 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
275 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
276 #, no-wrap
277 msgid "STANDARDS"
278 msgstr "ESTÁNDARES"
279
280 #. type: Plain text
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 msgid "C11, POSIX.1-2008."
284 msgstr "C11, POSIX.1-2008."
285
286 #. type: SH
287 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
288 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
289 #, no-wrap
290 msgid "HISTORY"
291 msgstr "HISTORIAL"
292
293 #. type: Plain text
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 msgid "POSIX.1-2001, C89, SVr4, 4.3BSD."
297 msgstr "POSIX.1-2001, C89, SVr4, 4.3BSD."
298
299 #. type: SH
300 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid "CAVEATS"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
307 #, fuzzy
308 #| msgid "Never use these functions. If you do, note that:"
309 msgid "Be cautious when using this function. If you do use it, note that:"
310 msgstr "Nunca use estas funciones. Si lo hace, tenga en cuenta que:"
311
312 #. type: IP
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "\\[bu]"
317 msgstr "\\[bu]"
318
319 #. type: Plain text
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, fuzzy
323 #| msgid "The identity of the delimiting character is lost."
324 msgid "The identity of the delimiting byte is lost."
325 msgstr "La identidad del carácter delimitador se pierde."
326
327 #. type: Plain text
328 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
329 #, fuzzy
330 #| msgid ""
331 #| "The B<strtok>() function uses a static buffer while parsing, so it's not "
332 #| "thread safe. Use B<strtok_r>() if this matters to you."
333 msgid ""
334 "The B<strtok>() function uses a static buffer while parsing, so it's not "
335 "thread safe. Use B<strtok_r>(3) if this matters to you."
336 msgstr ""
337 "La función B<strtok>() usa un buffer estático mientras analiza la línea, "
338 "por lo que no es hilo-seguro. Use B<strtok_r>() si este asunto le preocupa."
339
340 #. type: SH
341 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
342 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
343 #, no-wrap
344 msgid "EXAMPLES"
345 msgstr "EJEMPLOS"
346
347 #. type: Plain text
348 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
349 #, fuzzy
350 #| msgid "See B<cgroups>(7)."
351 msgid "See B<getaddrinfo_a>(3)."
352 msgstr "Vea B<cgroups>(7)."
353
354 #. type: SH
355 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
356 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
357 #, no-wrap
358 msgid "SEE ALSO"
359 msgstr "VÉASE TAMBIÉN"
360
361 #. type: Plain text
362 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
363 #, fuzzy
364 #| msgid ""
365 #| "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
366 #| "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
367 msgid ""
368 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
369 "B<strspn>(3), B<strstr>(3), B<strtok_r>(3), B<wcstok>(3)"
370 msgstr ""
371 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
372 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
373
374 #. type: TH
375 #: debian-trixie
376 #, no-wrap
377 msgid "2024-06-16"
378 msgstr "16 Junio 2024"
379
380 #. type: TH
381 #: debian-trixie
382 #, no-wrap
383 msgid "Linux man-pages 6.9.1"
384 msgstr "Páginas de Manual de Linux 6.9.1"
385
386 #. type: Plain text
387 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
388 msgid "strtok, strtok_r - extract tokens from strings"
389 msgstr "strtok, strtok_r - extraen un token de una cadena"
390
391 #. type: Plain text
392 #: debian-trixie
393 msgid "Standard C library (I<libc>, I<-lc>)"
394 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
395
396 #. type: Plain text
397 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
398 #, no-wrap
399 msgid ""
400 "B<char *strtok(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<);>\n"
401 "B<char *strtok_r(char *_Nullable restrict >I<str>B<, const char *restrict >I<delim>B<,>\n"
402 "B< char **restrict >I<saveptr>B<);>\n"
403 msgstr ""
404
405 #. type: Plain text
406 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
407 msgid ""
408 "Feature Test Macro Requirements for glibc (see B<feature_test_macros>(7)):"
409 msgstr ""
410 "Requisitos de Macros de Prueba de Características para glibc (véase "
411 "B<feature_test_macros>(7)):"
412
413 #. type: Plain text
414 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
415 #, fuzzy
416 #| msgid "B<strtok_r>()"
417 msgid "B<strtok_r>():"
418 msgstr "B<strtok_r>()"
419
420 #. type: Plain text
421 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
422 #, no-wrap
423 msgid ""
424 " _POSIX_C_SOURCE\n"
425 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
426 msgstr ""
427 " _POSIX_C_SOURCE\n"
428 " || /* glibc E<lt>= 2.19: */ _BSD_SOURCE || _SVID_SOURCE\n"
429
430 #. type: Plain text
431 #: debian-trixie fedora-44 fedora-rawhide
432 msgid ""
433 "From the above description, it follows that a sequence of two or more "
434 "contiguous delimiter bytes in the parsed string is considered to be a single "
435 "delimiter, and that delimiter bytes at the start or end of the string are "
436 "ignored. Put another way: the tokens returned by B<strtok>() are always "
437 "nonempty strings. Thus, for example, given the string \"I<aaa;;bbb,>\", "
438 "successive calls to B<strtok>() that specify the delimiter string \"I<;,>\" "
439 "would return the strings \"I<aaa>\" and \"I<bbb>\", and then a null pointer."
440 msgstr ""
441
442 #
443 #. type: Plain text
444 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
445 #, fuzzy
446 #| msgid ""
447 #| "The B<strtok_r()> function is a reentrant version of the B<strtok()> "
448 #| "function, which instead of using its own static buffer, requires a "
449 #| "pointer to a user allocated char*. This pointer, the I<ptrptr> parameter, "
450 #| "must be the same while parsing the same string."
451 msgid ""
452 "The B<strtok_r>() function is a reentrant version of B<strtok>(). The "
453 "I<saveptr> argument is a pointer to a I<char\\ *> variable that is used "
454 "internally by B<strtok_r>() in order to maintain context between successive "
455 "calls that parse the same string."
456 msgstr ""
457 "La función B<strtok_r()> es una versión reentrante de la función "
458 "B<strtok()> , que en lugar de usar su propio buffer estático, requiere uno "
459 "previamente reservado por el usuario. Este puntero, el parámetro I<ptrptr> , "
460 "debe ser el mismo mientras se analiza la misma línea."
461
462 #. type: Plain text
463 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
464 msgid ""
465 "On the first call to B<strtok_r>(), I<str> should point to the string to be "
466 "parsed, and the value of I<*saveptr> is ignored (but see VERSIONS). In "
467 "subsequent calls, I<str> should be NULL, and I<saveptr> (and the buffer that "
468 "it points to) should be unchanged since the previous call."
469 msgstr ""
470
471 #. type: Plain text
472 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
473 msgid ""
474 "Different strings may be parsed concurrently using sequences of calls to "
475 "B<strtok_r>() that specify different I<saveptr> arguments."
476 msgstr ""
477
478 #. type: Plain text
479 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
480 #, fuzzy
481 #| msgid ""
482 #| "The B<strtok()> function returns a pointer to the next token, or NULL if "
483 #| "there are no more tokens."
484 msgid ""
485 "The B<strtok>() and B<strtok_r>() functions return a pointer to the next "
486 "token, or NULL if there are no more tokens."
487 msgstr ""
488 "La función B<strtok()> devuelve un puntero al siguiente token, o NULL si no "
489 "hay más tokens."
490
491 #. type: TP
492 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
493 #, no-wrap
494 msgid "B<strtok_r>()"
495 msgstr "B<strtok_r>()"
496
497 #. type: tbl table
498 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
499 #, no-wrap
500 msgid "MT-Safe"
501 msgstr "Multi-hilo seguro"
502
503 #. type: SH
504 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
505 #, no-wrap
506 msgid "VERSIONS"
507 msgstr "VERSIONES"
508
509 #. Tru64, according to its manual page
510 #. type: Plain text
511 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
512 msgid ""
513 "On some implementations, I<*saveptr> is required to be NULL on the first "
514 "call to B<strtok_r>() that is being used to parse I<str>."
515 msgstr ""
516
517 #. type: Plain text
518 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
519 msgid "POSIX.1-2008."
520 msgstr "POSIX.1-2008."
521
522 #. type: Plain text
523 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
524 msgid "POSIX.1-2001."
525 msgstr "POSIX.1-2001."
526
527 #. type: SH
528 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
529 #, no-wrap
530 msgid "BUGS"
531 msgstr "ERRORES"
532
533 #. type: Plain text
534 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
535 #, fuzzy
536 #| msgid "Never use these functions. If you do, note that:"
537 msgid "Be cautious when using these functions. If you do use them, note that:"
538 msgstr "Nunca use estas funciones. Si lo hace, tenga en cuenta que:"
539
540 #. type: Plain text
541 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
542 msgid "These functions modify their first argument."
543 msgstr "Estas funciones modifican su primer argumento."
544
545 #. type: Plain text
546 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
547 msgid "These functions cannot be used on constant strings."
548 msgstr "Estas funciones no pueden ser usadas con constantes de cadena."
549
550 #. type: Plain text
551 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
552 msgid ""
553 "The B<strtok>() function uses a static buffer while parsing, so it's not "
554 "thread safe. Use B<strtok_r>() if this matters to you."
555 msgstr ""
556 "La función B<strtok>() usa un buffer estático mientras analiza la línea, "
557 "por lo que no es hilo-seguro. Use B<strtok_r>() si este asunto le preocupa."
558
559 #. type: Plain text
560 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
561 msgid ""
562 "The program below uses nested loops that employ B<strtok_r>() to break a "
563 "string into a two-level hierarchy of tokens. The first command-line "
564 "argument specifies the string to be parsed. The second argument specifies "
565 "the delimiter byte(s) to be used to separate that string into \"major\" "
566 "tokens. The third argument specifies the delimiter byte(s) to be used to "
567 "separate the \"major\" tokens into subtokens."
568 msgstr ""
569
570 #. type: Plain text
571 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
572 msgid "An example of the output produced by this program is the following:"
573 msgstr ""
574
575 #. type: Plain text
576 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
577 #, fuzzy, no-wrap
578 #| msgid ""
579 #| "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
580 #| "1: a/bbb///cc\n"
581 #| " --E<gt> a\n"
582 #| " --E<gt> bbb\n"
583 #| " --E<gt> cc\n"
584 #| "2: xxx\n"
585 #| " --E<gt> xxx\n"
586 #| "3: yyy\n"
587 #| " --E<gt> yyy\n"
588 msgid ""
589 "$B< ./a.out \\[aq]a/bbb///cc;xxx:yyy:\\[aq] \\[aq]:;\\[aq] \\[aq]/\\[aq]>\n"
590 "1: a/bbb///cc\n"
591 " --E<gt> a\n"
592 " --E<gt> bbb\n"
593 " --E<gt> cc\n"
594 "2: xxx\n"
595 " --E<gt> xxx\n"
596 "3: yyy\n"
597 " --E<gt> yyy\n"
598 msgstr ""
599 "$B< ./a.out \\(aqa/bbb///cc;xxx:yyy:\\(aq \\(aq:;\\(aq \\(aq/\\(aq>\n"
600 "1: a/bbb///cc\n"
601 " --E<gt> a\n"
602 " --E<gt> bbb\n"
603 " --E<gt> cc\n"
604 "2: xxx\n"
605 " --E<gt> xxx\n"
606 "3: yyy\n"
607 " --E<gt> yyy\n"
608
609 #. type: SS
610 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
611 #, no-wrap
612 msgid "Program source"
613 msgstr "Código fuente"
614
615 #. type: Plain text
616 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
617 #, no-wrap
618 msgid ""
619 "#include E<lt>stdio.hE<gt>\n"
620 "#include E<lt>stdlib.hE<gt>\n"
621 "#include E<lt>string.hE<gt>\n"
622 "\\&\n"
623 "int\n"
624 "main(int argc, char *argv[])\n"
625 "{\n"
626 " char *str1, *str2, *token, *subtoken;\n"
627 " char *saveptr1, *saveptr2;\n"
628 " int j;\n"
629 "\\&\n"
630 " if (argc != 4) {\n"
631 " fprintf(stderr, \"Usage: %s string delim subdelim\\[rs]n\",\n"
632 " argv[0]);\n"
633 " exit(EXIT_FAILURE);\n"
634 " }\n"
635 "\\&\n"
636 " for (j = 1, str1 = argv[1]; ; j++, str1 = NULL) {\n"
637 " token = strtok_r(str1, argv[2], &saveptr1);\n"
638 " if (token == NULL)\n"
639 " break;\n"
640 " printf(\"%d: %s\\[rs]n\", j, token);\n"
641 "\\&\n"
642 " for (str2 = token; ; str2 = NULL) {\n"
643 " subtoken = strtok_r(str2, argv[3], &saveptr2);\n"
644 " if (subtoken == NULL)\n"
645 " break;\n"
646 " printf(\"\\[rs]t --E<gt> %s\\[rs]n\", subtoken);\n"
647 " }\n"
648 " }\n"
649 "\\&\n"
650 " exit(EXIT_SUCCESS);\n"
651 "}\n"
652 msgstr ""
653
654 #. type: Plain text
655 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
656 msgid ""
657 "Another example program using B<strtok>() can be found in "
658 "B<getaddrinfo_a>(3)."
659 msgstr ""
660
661 #. type: Plain text
662 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
663 #, fuzzy
664 #| msgid ""
665 #| "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
666 #| "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
667 msgid ""
668 "B<memchr>(3), B<strchr>(3), B<string>(3), B<strpbrk>(3), B<strsep>(3), "
669 "B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
670 msgstr ""
671 "B<index>(3), B<memchr>(3), B<rindex>(3), B<strchr>(3), B<string>(3), "
672 "B<strpbrk>(3), B<strsep>(3), B<strspn>(3), B<strstr>(3), B<wcstok>(3)"
673
674 #. type: TH
675 #: fedora-44 fedora-rawhide
676 #, no-wrap
677 msgid "2024-07-23"
678 msgstr "23 ​​Julio 2024"
679
680 #. type: TH
681 #: fedora-44 fedora-rawhide
682 #, no-wrap
683 msgid "Linux man-pages 6.13"
684 msgstr "Páginas de Manual de Linux 6.13"
685
686 #. type: TH
687 #: mageia-cauldron
688 #, no-wrap
689 msgid "2026-02-08"
690 msgstr "8 Febrero 2026"
691
692 #. type: TH
693 #: mageia-cauldron
694 #, no-wrap
695 msgid "Linux man-pages 6.17"
696 msgstr "Páginas de Manual de Linux 6.17"
697
698 #. type: TH
699 #: opensuse-leap-16-1 opensuse-tumbleweed
700 #, no-wrap
701 msgid "Linux man-pages (unreleased)"
702 msgstr "Páginas de Manual de Linux (no publicadas)"