Debian Codegraph @

po/pt_BR/man3/mbrtowc.3.po

raw
1 # Brazilian Portuguese translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # E. A. Tacão <[email protected]>, 2001.
5 # André Luiz Fassone <[email protected]>, 2001.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: manpages-l10n\n"
9 "POT-Creation-Date: 2026-06-05 06:30+0200\n"
10 "PO-Revision-Date: 2001-05-31 17:26+0200\n"
11 "Last-Translator: André Luiz Fassone <[email protected]>\n"
12 "Language-Team: Brazilian Portuguese <debian-l10n-"
13 "[email protected]>\n"
14 "Language: pt_BR\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<mbsrtowcs>(3)"
26 msgid "mbrtowc"
27 msgstr "B<mbsrtowcs>(3)"
28
29 #. type: TH
30 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
31 #: opensuse-tumbleweed
32 #, no-wrap
33 msgid "2026-02-08"
34 msgstr "8 fevereiro 2026"
35
36 #. type: TH
37 #: archlinux debian-unstable
38 #, fuzzy, no-wrap
39 #| msgid "Linux man-pages 6.17"
40 msgid "Linux man-pages 6.18"
41 msgstr "Linux man-pages 6.17"
42
43 #. type: SH
44 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
45 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
46 #, no-wrap
47 msgid "NAME"
48 msgstr "NOME"
49
50 #. type: Plain text
51 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
52 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
53 msgid "mbrtowc - convert a multibyte sequence to a wide character"
54 msgstr "mbrtowc - converte uma sequência multibyte em um caracter largo"
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 C Padrão (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 "SINOPSE"
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>wchar.hE<gt>>\n"
81 msgstr "B<#include E<lt>wchar.hE<gt>>\n"
82
83 #. type: Plain text
84 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
85 #: opensuse-tumbleweed
86 #, fuzzy, no-wrap
87 #| 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"
88 msgid ""
89 "B<size_t mbrtowc(>size_t n;\n"
90 "B< wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict >I<n>B<],>\n"
91 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
92 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"
93
94 #. type: SH
95 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
96 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
97 #, no-wrap
98 msgid "DESCRIPTION"
99 msgstr "DESCRIÇÃO"
100
101 #. type: Plain text
102 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
103 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
104 #, fuzzy
105 #| msgid ""
106 #| "The main case for this function is when I<s> is not NULL and I<pwc> is "
107 #| "not NULL. In this case, the B<mbrtowc> function inspects at most I<n> "
108 #| "bytes of the multibyte string starting at I<s>, extracts the next "
109 #| "complete multibyte character, converts it to a wide character and stores "
110 #| "it at I<*pwc>. It updates the shift state I<*ps>. If the converted wide "
111 #| "character is not L'\\e0', it returns the number of bytes that were "
112 #| "consumed from I<s>. If the converted wide character is L'\\e0', it resets "
113 #| "the shift state I<*ps> to the initial state and returns 0."
114 msgid ""
115 "The main case for this function is when I<s> is not NULL and I<pwc> is not "
116 "NULL. In this case, the B<mbrtowc>() function inspects at most I<n> bytes "
117 "of the multibyte string starting at I<s>, extracts the next complete "
118 "multibyte character, converts it to a wide character and stores it at "
119 "I<*pwc>. It updates the shift state I<*ps>. If the converted wide "
120 "character is not L\\[aq]\\[rs]0\\[aq] (the null wide character), it returns "
121 "the number of bytes that were consumed from I<s>. If the converted wide "
122 "character is L\\[aq]\\[rs]0\\[aq], it resets the shift state I<*ps> to the "
123 "initial state and returns 0."
124 msgstr ""
125 "A situação para o uso desta função é quando nem I<s> nem I<pwc> são NULO. "
126 "Nesse caso, a função B<mbrtowc> procura até os I<n> bytes, no máximo, da "
127 "string multibyte que começa em I<s>, extrai o próximo caracter multibyte "
128 "completo, converte ele em um caracter largo e o armazena em I<*pwc>. Ela "
129 "atualiza o estado transitório I<*ps>. Se o caracter largo convertido não for "
130 "L'\\e0', ela retorna o número de bytes consumidos de I<s>. Se o caracter "
131 "largo convertido for L'\\e0', ela reinicializa o estado transitório I<*ps> "
132 "ao valor inicial e retorna 0."
133
134 #. type: Plain text
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 msgid ""
138 "If the I<n> bytes starting at I<s> do not contain a complete multibyte "
139 "character, B<mbrtowc>() returns I<(size_t)\\ -2>. This can happen even if "
140 "I<n> E<gt>= I<MB_CUR_MAX>, if the multibyte string contains redundant shift "
141 "sequences."
142 msgstr ""
143 "Se os I<n> bytes a partir de I<s> não contiverem um caracter multibyte "
144 "completo, B<mbrtowc>() retorna I<(size_t)\\ -2>. Isso pode acontecer se I<n> "
145 "E<gt>= I<MB_CUR_MAX>, se a string multibyte contém sequências transitórias "
146 "redundantes."
147
148 #. type: Plain text
149 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
150 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
151 msgid ""
152 "If the multibyte string starting at I<s> contains an invalid multibyte "
153 "sequence before the next complete character, B<mbrtowc>() returns I<(size_t)"
154 "\\ -1> and sets I<errno> to B<EILSEQ>. In this case, the effects on I<*ps> "
155 "are undefined."
156 msgstr ""
157 "Se a string multibyte string começando em I<s> contiver uma sequência "
158 "multibyte inválida antes do próximo caracter completo, B<mbrtowc>() retorna "
159 "I<(size_t)(\\ -1)> e define I<errno> para B<EILSEQ>. Neste caso, os efeitos "
160 "em I<*ps> não podem ser precisados."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 msgid ""
166 "A different case is when I<s> is not NULL but I<pwc> is NULL. In this case, "
167 "the B<mbrtowc>() function behaves as above, except that it does not store "
168 "the converted wide character in memory."
169 msgstr ""
170 "Uma situação diferente ocorre quando I<s> não é NULO, mas I<pwc> é NULO. "
171 "Neste caso, a função B<mbrtowc>() se comporta da forma descrita acima, "
172 "exceto pelo fato de ela não armazenar o caracter largo convertido na memória."
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "A third case is when I<s> is NULL. In this case, I<pwc> and I<n> are "
179 "ignored. If the conversion state represented by I<*ps> denotes an "
180 "incomplete multibyte character conversion, the B<mbrtowc>() function "
181 "returns I<(size_t)\\ -1>, sets I<errno> to B<EILSEQ>, and leaves I<*ps> in "
182 "an undefined state. Otherwise, the B<mbrtowc>() function puts I<*ps> in "
183 "the initial state and returns 0."
184 msgstr ""
185
186 #. type: Plain text
187 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
188 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
189 msgid ""
190 "In all of the above cases, if I<ps> is NULL, a static anonymous state known "
191 "only to the B<mbrtowc>() function is used instead. Otherwise, I<*ps> must "
192 "be a valid I<mbstate_t> object. An I<mbstate_t> object I<a> can be "
193 "initialized to the initial state by zeroing it, for example using"
194 msgstr ""
195
196 #. type: Plain text
197 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
198 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
199 #, no-wrap
200 msgid "memset(&a, 0, sizeof(a));\n"
201 msgstr "memset(&a, 0, sizeof(a));\n"
202
203 #. type: SH
204 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
205 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
206 #, no-wrap
207 msgid "RETURN VALUE"
208 msgstr "VALOR DE RETORNO"
209
210 #. type: Plain text
211 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
212 #: opensuse-tumbleweed
213 #, fuzzy
214 #| msgid ""
215 #| "The B<mbrtowc> function returns the number of bytes parsed from the "
216 #| "multibyte sequence starting at I<s>, if a non-L'\\e0' wide character was "
217 #| "recognized. It returns 0, if a L'\\e0' wide character was recognized. It "
218 #| "returns (size_t)(-1) and sets B<errno> to B<EILSEQ>, if an invalid "
219 #| "multibyte sequence was encountered. It returns (size_t)(-2) if it "
220 #| "couldn't parse a complete multibyte character, meaning that I<n> should "
221 #| "be increased."
222 msgid ""
223 "The B<mbrtowc>() function returns the number of bytes parsed from the "
224 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
225 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
226 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
227 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
228 "I<(size_t)\\ -2> if the consumed I<n> bytes form a valid partial character "
229 "sequence; more subsequent data needs to be fed in."
230 msgstr ""
231 "A função B<mbrtowc> retorna o número de bytes analisados (parsed) da "
232 "sequência multibyte começando em I<s>, se um caracter largo diferente de "
233 "L'\\e0' for reconhecido. Ela retorna 0 se um caracter largo L'\\e0' for "
234 "reconhecido. Ela retorna (size_t)(-1) e define B<errno> para B<EILSEQ> se "
235 "uma sequência multibyte inválida for encontrada. Retorna (size_t)(-2) se ela "
236 "não puder analisar (parse) um caracter multibyte completo, indicando que "
237 "I<n> deve ser aumentado."
238
239 #. type: SH
240 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
241 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
242 #, no-wrap
243 msgid "ATTRIBUTES"
244 msgstr "ATRIBUTOS"
245
246 #. type: Plain text
247 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
248 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
249 msgid ""
250 "For an explanation of the terms used in this section, see B<attributes>(7)."
251 msgstr ""
252 "Para uma explicação dos termos usados nesta seção, consulte B<attributes>(7)."
253
254 #. type: tbl table
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "Interface"
259 msgstr "Interface"
260
261 #. type: tbl table
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 #, no-wrap
265 msgid "Attribute"
266 msgstr "Atributo"
267
268 #. type: tbl table
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "Value"
273 msgstr "Valor"
274
275 #. type: tbl table
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 #, no-wrap
279 msgid ".na\n"
280 msgstr ".na\n"
281
282 #. type: tbl table
283 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
284 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
285 #, no-wrap
286 msgid ".nh\n"
287 msgstr ".nh\n"
288
289 #. type: tbl table
290 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
291 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
292 #, fuzzy, no-wrap
293 #| msgid "B<mbsrtowcs>(3)"
294 msgid "B<mbrtowc>()"
295 msgstr "B<mbsrtowcs>(3)"
296
297 #. type: tbl table
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 #, no-wrap
301 msgid "Thread safety"
302 msgstr "Thread safety"
303
304 #. type: tbl table
305 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
306 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
307 #, no-wrap
308 msgid "MT-Unsafe race:mbrtowc/!ps"
309 msgstr ""
310
311 #. type: SH
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "STANDARDS"
316 msgstr "PADRÕES"
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "C11, POSIX.1-2008."
322 msgstr "C11, POSIX.1-2008."
323
324 #. type: SH
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 #, no-wrap
328 msgid "HISTORY"
329 msgstr "HISTÓRICO"
330
331 #. type: Plain text
332 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
333 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
334 msgid "POSIX.1-2001, C99."
335 msgstr "POSIX.1-2001, C99."
336
337 #. type: SH
338 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
339 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
340 #, no-wrap
341 msgid "NOTES"
342 msgstr "NOTAS"
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 #, fuzzy
348 #| msgid ""
349 #| "The behaviour of B<mbrtowc> depends on the LC_CTYPE category of the "
350 #| "current locale."
351 msgid ""
352 "The behavior of B<mbrtowc>() depends on the B<LC_CTYPE> category of the "
353 "current locale."
354 msgstr ""
355 "O comportamento de B<mbrtowc> depende da categoria LC_CTYPE da localização "
356 "atual."
357
358 #. type: SH
359 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
360 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
361 #, no-wrap
362 msgid "SEE ALSO"
363 msgstr "VEJA TAMBÉM"
364
365 #. type: Plain text
366 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
367 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
368 #, fuzzy
369 #| msgid "B<mbsrtowcs>(3)"
370 msgid "B<mbsinit>(3), B<mbsrtowcs>(3)"
371 msgstr "B<mbsrtowcs>(3)"
372
373 #. type: TH
374 #: debian-trixie
375 #, no-wrap
376 msgid "2024-06-15"
377 msgstr "15 junho 2024"
378
379 #. type: TH
380 #: debian-trixie
381 #, no-wrap
382 msgid "Linux man-pages 6.9.1"
383 msgstr "Linux man-pages 6.9.1"
384
385 #. type: Plain text
386 #: debian-trixie
387 msgid "Standard C library (I<libc>, I<-lc>)"
388 msgstr "Biblioteca C Padrão (I<libc>, I<-lc>)"
389
390 #. type: Plain text
391 #: debian-trixie fedora-44 fedora-rawhide
392 #, fuzzy, no-wrap
393 #| 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"
394 msgid ""
395 "B<size_t mbrtowc(wchar_t *restrict >I<pwc>B<, const char >I<s>B<[restrict .>I<n>B<],>\n"
396 "B< size_t >I<n>B<, mbstate_t *restrict >I<ps>B<);>\n"
397 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"
398
399 #. type: Plain text
400 #: debian-trixie fedora-44 fedora-rawhide
401 #, fuzzy
402 #| msgid ""
403 #| "The B<mbrtowc> function returns the number of bytes parsed from the "
404 #| "multibyte sequence starting at I<s>, if a non-L'\\e0' wide character was "
405 #| "recognized. It returns 0, if a L'\\e0' wide character was recognized. It "
406 #| "returns (size_t)(-1) and sets B<errno> to B<EILSEQ>, if an invalid "
407 #| "multibyte sequence was encountered. It returns (size_t)(-2) if it "
408 #| "couldn't parse a complete multibyte character, meaning that I<n> should "
409 #| "be increased."
410 msgid ""
411 "The B<mbrtowc>() function returns the number of bytes parsed from the "
412 "multibyte sequence starting at I<s>, if a non-L\\[aq]\\[rs]0\\[aq] wide "
413 "character was recognized. It returns 0, if a L\\[aq]\\[rs]0\\[aq] wide "
414 "character was recognized. It returns I<(size_t)\\ -1> and sets I<errno> to "
415 "B<EILSEQ>, if an invalid multibyte sequence was encountered. It returns "
416 "I<(size_t)\\ -2> if it couldn't parse a complete multibyte character, "
417 "meaning that I<n> should be increased."
418 msgstr ""
419 "A função B<mbrtowc> retorna o número de bytes analisados (parsed) da "
420 "sequência multibyte começando em I<s>, se um caracter largo diferente de "
421 "L'\\e0' for reconhecido. Ela retorna 0 se um caracter largo L'\\e0' for "
422 "reconhecido. Ela retorna (size_t)(-1) e define B<errno> para B<EILSEQ> se "
423 "uma sequência multibyte inválida for encontrada. Retorna (size_t)(-2) se ela "
424 "não puder analisar (parse) um caracter multibyte completo, indicando que "
425 "I<n> deve ser aumentado."
426
427 #. type: TH
428 #: fedora-44 fedora-rawhide
429 #, no-wrap
430 msgid "2024-07-23"
431 msgstr "23 julho 2024"
432
433 #. type: TH
434 #: fedora-44 fedora-rawhide
435 #, no-wrap
436 msgid "Linux man-pages 6.13"
437 msgstr "Linux man-pages 6.13"
438
439 #. type: TH
440 #: mageia-cauldron
441 #, no-wrap
442 msgid "Linux man-pages 6.17"
443 msgstr "Linux man-pages 6.17"
444
445 #. type: TH
446 #: opensuse-leap-16-1 opensuse-tumbleweed
447 #, no-wrap
448 msgid "Linux man-pages (unreleased)"
449 msgstr "Linux man-pages (não lançado)"