1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
.\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" References consulted:
.\" GNU glibc-2 source code and manual
.\" Dinkumware C library reference http://www.dinkumware.com/
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
.\" ISO/IEC 9899:1999
.\"
.TH BTOWC 3 "July 25, 1999" "GNU" "Linux Programmer's Manual"
.SH NOME
btowc \- converte um byte para um caracter largo
.SH SINOPSE
.nf
.B #include <wchar.h>
.sp
.BI "wint_t btowc (int " c );
.fi
.SH DESCRIO
A funo \fBbtowc\fP converte \fIc\fP, tratada como uma seqncia de bytes de
comprimento 1, comeando no shift state inicial, para um caracter completo e o retorna.
Se \fIc\fP for EOF ou no for uma seqencia de comprimento 1 vlida, retorna WEOF.
.SH "VALOR RETORNADO"
A funo \fBbtowc\fP retorna o caracter completo gerado a partir do byte \fIc\fP.
Se \fIc\fP for EOF ou no for uma seqncia de comprimento 1 vlida, retorna WEOF.
.SH "DE ACORDO COM"
ISO/ANSI C, UNIX98
.SH "SEE ALSO"
.BR mbtowc (3)
.SH OBSERVAES
O comportamento desta funo depende do LC_TYPE atual.
.PP
Esta funo no deve nunca ser usada. Ela no funciona para codificaes que
tm estado, e trata bytes nicos como seqncias de vrios bytes desnecessariamente.
Use a funo \fBmbtowc\fP.
.SH TRADUZIDO POR LDP-BR em 21/08/2000.
\&\fR\&\f(CWPaulo Csar Mendes <drpc@ism.com.br> (traduo)\fR
\&\fR\&\f(CWxxxxxxxxxxxxxxxxxxxxxxxxx <xxx@xxxxxx.xxx.xx> (reviso)\fR
|