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
|
.\" 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
.\"
.TH WCSNLEN 3 "25 Julho 1999" "GNU" "Manual do Programador Linux"
.SH NOME
wcsnlen \- determina o tamanho de uma cadeia de caracteres largos de tamanho fixo
.SH SINOPSE
.nf
.B #include <wchar.h>
.sp
.BI "size_t wcsnlen (const wchar_t *" s ", size_t " maxlen );
.fi
.SH DESCRIO
A funo \fBwcsnlen\fP a equivalente para caracteres largos da funo
\fBstrnlen\fP. Retorna o nmero de caracteres largos na string apontada por
\fIs\fP, no incluindo o caractere terminador L'\\0', porm no mximo
\fImaxlen\fP. Ao fazer isso, \fBwcsnlen\fP olha somente para os primeiros
\fImaxlen\fP caracteres largos em \fIs\fP e nunca alm de \fIs+maxlen\fP.
.SH "VALOR DE RETORNO"
A funo \fBwcsnlen\fP retorna \fIwcslen(s)\fP, se esse menor que
\fImaxlen\fP, ou \fImaxlen\fP se no houver o caractere L'\\0' entre os
primeiros \fImaxlen\fP caracteres largos apontados por \fIs\fP.
.SH "CONFORMIDADE"
Esta funo uma extenso GNU.
.SH "VEJA TAMBM"
.BR strnlen "(3), " wcslen (3)
.SH TRADUZIDO POR LDP-BR em 25/08/2000
\&\fR\&\f(CWMarcelo D. Beckmann <marcelobeckmann@yahoo.com> (traduo)\fR
\&\fR\&\f(CWEspao para o Revisor <nome@dominio.com.br> (reviso)\fR
|