Debian Codegraph @

po/es/man3/mbrtowc.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 # Juan Piernas <[email protected]>, 2000.
5 msgid ""
6 msgstr ""
7 "Project-Id-Version: manpages-l10n\n"
8 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
9 "PO-Revision-Date: 2005-03-29 19:53+0200\n"
10 "Last-Translator: Miguel Pérez Ibars <[email protected]>\n"
11 "Language-Team: Spanish <[email protected]>\n"
12 "Language: es\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=2; plural=(n != 1);\n"
17 "X-Generator: Lokalize 20.04.1\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, fuzzy, no-wrap
23 #| msgid "B<mbrtowc>()"
24 msgid "mbrtowc"
25 msgstr "B<mbrtowc>()"
26
27 #. type: TH
28 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
29 #: opensuse-tumbleweed
30 #, no-wrap
31 msgid "2026-02-08"
32 msgstr "8 Febrero 2026"
33
34 #. type: TH
35 #: archlinux debian-unstable
36 #, fuzzy, no-wrap
37 #| msgid "Linux man-pages 6.17"
38 msgid "Linux man-pages 6.18"
39 msgstr "Páginas de Manual de Linux 6.17"
40
41 #. type: SH
42 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
43 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
44 #, no-wrap
45 msgid "NAME"
46 msgstr "NOMBRE"
47
48 #. type: Plain text
49 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
50 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
51 msgid "mbrtowc - convert a multibyte sequence to a wide character"
52 msgstr "mbrtowc - convierte una secuencia multibyte a un carácter ancho"
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 "BIBLIOTECA"
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 "Biblioteca Estándar 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 "SINOPSIS"
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>wchar.hE<gt>>\n"
79 msgstr "B<#include E<lt>wchar.hE<gt>>\n"
80
81 #. type: Plain text
82 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
83 #: opensuse-tumbleweed
84 #, fuzzy, no-wrap
85 #| msgid "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n"
86 msgid ""
87 "B<size_t mbrtowc(>size_t n;\n"
88 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<n>B<],>\n"
89 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
90 msgstr "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n"
91
92 #. type: SH
93 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
94 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
95 #, no-wrap
96 msgid "DESCRIPTION"
97 msgstr "DESCRIPCIÓN"
98
99 #. type: Plain text
100 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
101 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
102 #, fuzzy
103 #| msgid ""
104 #| "The main case for this function is when I<s> is not NULL and I<pwc> is "
105 #| "not NULL. In this case, the B<mbrtowc> function inspects at most I<n> "
106 #| "bytes of the multibyte string starting at I<s>, extracts the next "
107 #| "complete multibyte character, converts it to a wide character and stores "
108 #| "it at I<*pwc>. It updates the shift state I<*ps>. If the converted wide "
109 #| "character is not L'\\e0', it returns the number of bytes that were "
110 #| "consumed from I<s>. If the converted wide character is L'\\e0', it resets "
111 #| "the shift state I<*ps> to the initial state and returns 0."
112 msgid ""
113 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
114 "NULL. In this case, the B<mbrtowc>() function inspects at most I<n> bytes "
115 "of the multibyte string starting at I<s>, extracts the next complete "
116 "multibyte character, converts it to a wide character and stores it at "
117 "I<*pwc>. It updates the shift state I<*ps>. If the converted wide "
118 "character is not L\\[aq]\\[rs]0\\[aq] (the null wide character), it returns "
119 "the number of bytes that were consumed from I<s>. If the converted wide "
120 "character is L\\[aq]\\[rs]0\\[aq], it resets the shift state I<*ps> to the "
121 "initial state and returns 0."
122 msgstr ""
123 "El principal caso para esta función se da cuando I<s> no es NULL y I<pwc> no "
124 "es NULL. En este caso, la función B<mbrtowc> inspecciona, como mucho, I<n> "
125 "bytes de la cadena multibyte que comienza en I<s>, extrae el siguiente "
126 "carácter multibyte completo, lo convierte a un carácter ancho y lo almacena "
127 "en I<*pwc>. La función actualiza el estado de cambios I<*ps>. Si el "
128 "carácter ancho obtenido no es L'\\e0', devuelve el número de bytes que se "
129 "han consumido de I<s>. Si el carácter ancho obtenido es L'\\e0', restablece "
130 "el estado de cambios I<*ps> al estado inicial y devuelve 0."
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 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
137 "character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if "
138 "I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift "
139 "sequences."
140 msgstr ""
141 "Si los I<n> bytes que comienzan en I<s> no contienen un carácter multibyte "
142 "completo, B<mbrtowc>() devuelve I<(size_t)\\ -2>. Esto puede ocurrir incluso "
143 "si I<n> E<gt>= I<MB_CUR_MAX>, si la cadena multibyte contiene secuencias de "
144 "cambios redundantes."
145
146 #. type: Plain text
147 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
148 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
149 msgid ""
150 "If the multibyte string starting at I<s> contains an invalid multibyte "
151 "sequence before the next complete character, B<mbrtowc>() returns I<(size_t)"
152 "\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects on I<*ps> "
153 "are undefined."
154 msgstr ""
155 "Si la cadena multibyte que comienza en I<s> contiene una secuencia multibyte "
156 "inválida antes del siguiente carácter completo, B<mbrtowc>() devuelve "
157 "I<(size_t)\\ -1> y asigna a I<errno> el valor B<EILSEQ>. En este caso, los "
158 "efectos sobre I<*ps> son indefinidos."
159
160 #. type: Plain text
161 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
162 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
163 msgid ""
164 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
165 "the B<mbrtowc>() function behaves as above, except that it does not store "
166 "the converted wide character in memory."
167 msgstr ""
168 "Un caso diferente se da cuando I<s> no es NULL pero I<pwc> es NULL. En este "
169 "caso, la función B<mbrtowc>() se comporta como antes, excepto que no "
170 "almacena el carácter ancho obtenido en memoria."
171
172 #. type: Plain text
173 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
174 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
175 msgid ""
176 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
177 "ignored. If the conversion state represented by I<*ps> denotes an "
178 "incomplete multibyte character conversion, the B<mbrtowc>() function "
179 "returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in "
180 "an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in "
181 "the initial state and returns 0."
182 msgstr ""
183 "Un tercer caso se da cuando I<s> es NULL. En este caso, I<pwc> y I<n> se "
184 "ignoran. Si el estado de conversión representado por I<*ps> indica una "
185 "conversión incompleta de caracteres multibyte, la función B<mbrtowc>() "
186 "devuelve I<(size_t)\\ -1>, asigna a I<errno> el valor B<EILSEQ>, y deja "
187 "I<*ps> en un estado indefinido. En otro caso, la función B<mbrtowc>() coloca "
188 "I<*ps> en el estado inicial y devuelve 0."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, fuzzy
194 #| msgid ""
195 #| "In all of the above cases, if I<ps> is a NULL pointer, a static anonymous "
196 #| "state only known to the mbrtowc function is used instead. Otherwise, "
197 #| "I<*ps> must be a valid B<mbstate_t> object. An B<mbstate_t> object I<a> "
198 #| "can be initialized to the initial state by zeroing it, for example using"
199 msgid ""
200 "In all of the above cases, if I<ps> is NULL, a static anonymous state known "
201 "only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must "
202 "be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be "
203 "initialized to the initial state by zeroing it, for example using"
204 msgstr ""
205 "En todos los casos anteriores, si I<ps> es un puntero NULL, en su lugar se "
206 "usa un estado anónimo privado sólo conocido por la función B<mbrtowc>. En "
207 "caso contrario, I<*ps> debe ser un objeto B<mbstate_t> válido. Un objeto "
208 "B<mbstate_t> I<a> puede ser incializado al estado inicial rellenándolo con "
209 "ceros, usando por ejemplo:"
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 #, no-wrap
215 msgid "memset(&a, 0, sizeof(a));\n"
216 msgstr "memset(&a, 0, sizeof(a));\n"
217
218 #. type: SH
219 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
220 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
221 #, no-wrap
222 msgid "RETURN VALUE"
223 msgstr "VALOR DEVUELTO"
224
225 #. type: Plain text
226 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
227 #: opensuse-tumbleweed
228 #, fuzzy
229 #| msgid ""
230 #| "The B<mbrtowc> function returns the number of bytes parsed from the "
231 #| "multibyte sequence starting at I<s>, if a non-L'\\e0' wide character was "
232 #| "recognized. It returns 0, if a L'\\e0' wide character was recognized. It "
233 #| "returns (size_t)(-1) and sets B<errno> to B<EILSEQ>, if an invalid "
234 #| "multibyte sequence was encountered. It returns (size_t)(-2) if it "
235 #| "couldn't parse a complete multibyte character, meaning that I<n> should "
236 #| "be increased."
237 msgid ""
238 "The B<mbrtowc>() function returns the number of bytes parsed from the "
239 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
240 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
241 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
242 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
243 "I<(size_t)\\ -2> if the consumed I<n> bytes form a valid partial character "
244 "sequence; more subsequent data needs to be fed in."
245 msgstr ""
246 "La función B<mbrtowc> devuelve el número de bytes analizados de la secuencia "
247 "multibyte que comienza en I<s>, si se ha reconocido un carácter ancho "
248 "distinto de L'\\e0'. Devuelve 0 si se ha reconocido un carácter ancho "
249 "L'\\e0'. Devuelve (size_t)(-1) y asigna a B<errno> el valor B<EILSEQ> si se "
250 "ha encontrado una secuencia multibyte inválida. Devuelve (size_t)(-2) si no "
251 "se ha podido analizar un carácter multibyte completo, indicando esto que se "
252 "debería incrementar I<n>."
253
254 #. type: SH
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "ATTRIBUTES"
259 msgstr "ATRIBUTOS"
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid ""
265 "For an explanation of the terms used in this section, see B<attributes>(7)."
266 msgstr ""
267 "Para obtener una explicación de los términos usados en esta sección, véase "
268 "B<attributes>(7)."
269
270 #. type: tbl table
271 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
272 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
273 #, no-wrap
274 msgid "Interface"
275 msgstr "Interfaz"
276
277 #. type: tbl table
278 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
279 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
280 #, no-wrap
281 msgid "Attribute"
282 msgstr "Atributo"
283
284 #. type: tbl table
285 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
286 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
287 #, no-wrap
288 msgid "Value"
289 msgstr "Valor"
290
291 #. type: tbl table
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 #, no-wrap
295 msgid ".na\n"
296 msgstr ".na\n"
297
298 #. type: tbl table
299 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
300 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
301 #, no-wrap
302 msgid ".nh\n"
303 msgstr ".nh\n"
304
305 #. type: tbl table
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 #, no-wrap
309 msgid "B<mbrtowc>()"
310 msgstr "B<mbrtowc>()"
311
312 #. type: tbl table
313 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
314 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
315 #, no-wrap
316 msgid "Thread safety"
317 msgstr "Seguridad del hilo"
318
319 #. type: tbl table
320 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
321 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
322 #, no-wrap
323 msgid "MT-Unsafe race:mbrtowc/!ps"
324 msgstr ""
325
326 #. type: SH
327 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
328 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
329 #, no-wrap
330 msgid "STANDARDS"
331 msgstr "ESTÁNDARES"
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 msgid "C11, POSIX.1-2008."
337 msgstr "C11, POSIX.1-2008."
338
339 #. type: SH
340 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
341 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
342 #, no-wrap
343 msgid "HISTORY"
344 msgstr "HISTORIAL"
345
346 #. type: Plain text
347 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
348 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
349 msgid "POSIX.1-2001, C99."
350 msgstr "POSIX.1-2001, C99."
351
352 #. type: SH
353 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
354 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
355 #, no-wrap
356 msgid "NOTES"
357 msgstr "NOTAS"
358
359 #. type: Plain text
360 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
361 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
362 msgid ""
363 "The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the "
364 "current locale."
365 msgstr ""
366 "El comportamiento de B<mbrtowc>() depende de la categoría B<LC_CTYPE> de la "
367 "localización actual."
368
369 #. type: SH
370 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
371 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
372 #, no-wrap
373 msgid "SEE ALSO"
374 msgstr "VÉASE TAMBIÉN"
375
376 #. type: Plain text
377 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
378 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
379 msgid "B<mbsinit>(3), B<mbsrtowcs>(3)"
380 msgstr "B<mbsinit>(3), B<mbsrtowcs>(3)"
381
382 #. type: TH
383 #: debian-trixie
384 #, no-wrap
385 msgid "2024-06-15"
386 msgstr "15 Junio 2024"
387
388 #. type: TH
389 #: debian-trixie
390 #, no-wrap
391 msgid "Linux man-pages 6.9.1"
392 msgstr "Páginas de Manual de Linux 6.9.1"
393
394 #. type: Plain text
395 #: debian-trixie
396 msgid "Standard C library (I<libc>, I<-lc>)"
397 msgstr "Biblioteca Estándar C (I<libc>, I<-lc>)"
398
399 #. type: Plain text
400 #: debian-trixie fedora-44 fedora-rawhide
401 #, fuzzy, no-wrap
402 #| msgid "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n"
403 msgid ""
404 "B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n"
405 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
406 msgstr "B<size_t mbrtowc(wchar_t *>I<pwc>B<, const char *>I<s>B<, size_t >I<n>B<, mbstate_t *>I<ps>B<);>\n"
407
408 #. type: Plain text
409 #: debian-trixie fedora-44 fedora-rawhide
410 #, fuzzy
411 #| msgid ""
412 #| "The B<mbrtowc> function returns the number of bytes parsed from the "
413 #| "multibyte sequence starting at I<s>, if a non-L'\\e0' wide character was "
414 #| "recognized. It returns 0, if a L'\\e0' wide character was recognized. It "
415 #| "returns (size_t)(-1) and sets B<errno> to B<EILSEQ>, if an invalid "
416 #| "multibyte sequence was encountered. It returns (size_t)(-2) if it "
417 #| "couldn't parse a complete multibyte character, meaning that I<n> should "
418 #| "be increased."
419 msgid ""
420 "The B<mbrtowc>() function returns the number of bytes parsed from the "
421 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
422 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
423 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
424 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
425 "I<(size_t)\\ -2> if it couldn't parse a complete multibyte character, "
426 "meaning that I<n> should be increased."
427 msgstr ""
428 "La función B<mbrtowc> devuelve el número de bytes analizados de la secuencia "
429 "multibyte que comienza en I<s>, si se ha reconocido un carácter ancho "
430 "distinto de L'\\e0'. Devuelve 0 si se ha reconocido un carácter ancho "
431 "L'\\e0'. Devuelve (size_t)(-1) y asigna a B<errno> el valor B<EILSEQ> si se "
432 "ha encontrado una secuencia multibyte inválida. Devuelve (size_t)(-2) si no "
433 "se ha podido analizar un carácter multibyte completo, indicando esto que se "
434 "debería incrementar I<n>."
435
436 #. type: TH
437 #: fedora-44 fedora-rawhide
438 #, no-wrap
439 msgid "2024-07-23"
440 msgstr "23 ​​Julio 2024"
441
442 #. type: TH
443 #: fedora-44 fedora-rawhide
444 #, no-wrap
445 msgid "Linux man-pages 6.13"
446 msgstr "Páginas de Manual de Linux 6.13"
447
448 #. type: TH
449 #: mageia-cauldron
450 #, no-wrap
451 msgid "Linux man-pages 6.17"
452 msgstr "Páginas de Manual de Linux 6.17"
453
454 #. type: TH
455 #: opensuse-leap-16-1 opensuse-tumbleweed
456 #, no-wrap
457 msgid "Linux man-pages (unreleased)"
458 msgstr "Páginas de Manual de Linux (no publicadas)"