.\" Copyright (c) Bruno Haible .\" .\" 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 .\" .TH WCWIDTH 3 "25 de Julho de 1999" "GNU" "Manual do Programador Linux" .SH NOME wcwidth \- determina as colunas necessárias para caracteres longos .SH SINOPSE .nf .B #include .sp .BI "int wcwidth (wint_t " c ); .fi .SH DESCRIPTION A função \fBwcwidth\fP devolve o número de colunas necessárias para representar um caractere longo \fIc\fP. Se \fIc\fP é um caractere longo imprimível, o valor é pelo menos 0. Se \fIc\fP é L'\\0', o valor é 0. De outra forma -1 é devolvido. .SH "VALORES DE RETORNO" A função \fBwcwidth\fP devolve o número de posição nas colunas para \fIc\fP. .SH "CONFORMING TO" UNIX98 .SH "VEJA TAMBÉM" .BR wcswidth "(3), " iswprint (3) .SH NOTAS The behaviour of \fBwcwidth\fP depends on the LC_CTYPE category of the current locale.